|
[Sponsors] |
June 22, 2018, 05:18 |
use of mysetFieldsDict
|
#1 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Hello Foamers,
I would like to ask how the modified setFieldsDict is used in FSI simulation. Indeed, I want to simulate flow over a cylinder(stationary and oscillating). I have used toposetDict to map that cylinder in a fluid Cartesian domain. Let: eta=1 solid region, eta=0 fluid region. Then i have a c++ code that gives me a value of eta each time step. The eta's value alternate from 0 to 1 and from 1 to 0. C++ code prints eta values in .dat format. I am asking if it is possible to use setFieldsDict to move (oscillating motion) that cylinder as eta changes. what should be my code looking like? I will be happy to hear from you! Regard! |
|
|
|