Dear CFD-friends, I want to s
I want to simulate the spreading of fume in a room with buoyantFoam and scalarTransportFoam. My idea was to start with bouyantFoam to determine the velocity. Afterwards the calculated values can be passed to scalarTransportFoam, which will solve the transport equation for the unknown concentration. How can I pass the field values automaically (they change every timestep)? Any other ideas to simulate the spreading of smoke?
I think what you want to do (a
I think what you want to do (although you don't know it yet) is write a new solver:
- copy the sources of bouyantFoam
- rename it (smokeFoam?)
- extract the relevant parts from scalarTransportFoam (creation of species field etc) and add them to your solver
- add the transport equation at the end of the time-loop
Good idea Bernhard, unfortunat
Good idea Bernhard, unfortunately I failed to assemble the two solvers, but I just managed to write a script, which does exacly what I want. Thank you very much indeed.
|All times are GMT -4. The time now is 18:40.|