How to change a stationary wall to a moving wall by scheme command?

Valérie Gelbgras
Valérie Gelbgras Member, Employee Posts: 157
First Answer Solution Developer Community of Practice Member 5 Likes Ansys Employee
✭✭✭✭
edited June 2023 in Fluids

How to change a stationary wall to a moving wall by scheme command?

Tagged:

Answers

  • Valérie Gelbgras
    Valérie Gelbgras Member, Employee Posts: 157
    First Answer Solution Developer Community of Practice Member 5 Likes Ansys Employee
    ✭✭✭✭
    Answer ✓

    We can use the following command to change the wall with ID = 1 to a moving wall:

    (send (get-thread 1) set-var! 'motion-bc 1)

    To revert back to a stationary wall, we can use:

    (send (get-thread 1) set-var! 'motion-bc 0)