|
[Sponsors] |
Changing geometry in OF: how can I manage this? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2012, 04:22 |
Changing geometry in OF: how can I manage this?
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear Foamers,
I have this situation: I have a big domain with 2 fluid regions (air), separated from 2 solid regions. These 2 regions have a 2 different temperatures I have a steady solution at the time 0-. At the time 0 I suddenly remove the solid region 1 (see the pdf attached), hence the solid region 1 should become a fluid region. How can I manage such a problem with OF? Thanks a lot, Samuele |
|
May 9, 2012, 05:26 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
in other word you have two air region with different temperature that soild is membrane so after time zero it is not important , so you just need, for initial condition define a non-uniform temperature ( which can be done for your simple geometry with "setField" )
setFieldDict can be found in interFoam tutorial |
|
May 9, 2012, 06:13 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear nimasam,
thanks for answering. I think that the point is more challenging: it's like if I have 2 simulations. The 1st one will allow me to find the 1st steady solution with the door. Then I remove the door. The 2nd simulation is the non-steady simulation of the transient, once the door is opened. So I need to use the solution of the 1st simulation as the 0-condition for the 2nd simulation. The challenging point is that I have a region which is a solid in the 1st simulation and fluid in the second one! What I can not und. is how to simulate this and - above all - how to properly set the fluid-fluid interface. Thanks again. Samuele |
|
May 9, 2012, 13:48 |
It depends...
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
When you talk about the regions solid1 and solid2, do you need them to be extended regions? If they are just walls that separate the regions and don't need to be any particular thickness, then you might be able to use the attachDetach boundary condition. I've done a little experimenting with it in 2.1.x, and it works for incompressible flow, both laminar and turbulent (turbulent requires some modifications to your turbulence and transport models as explained here).
Still haven't gotten it working with compressible flow, if you feel this is useful we could put our heads together... |
|
May 10, 2012, 04:05 |
|
#5 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear mturcios777,
thanks for answering. Actually, the answer is `yes', I need 2 thick solid regions. The roof remain a solid, also in simulation 2, while the door suddenly becomes a fluid region. I think we can share our experience to get something good both for us and for the OF community. What do you think? Please, send me an email @ samuele.zampini@gmail.com Thanks a lot, regards, Samuele |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Importing Geometry ProE to CFX | fatb0y | CFX | 3 | January 14, 2012 20:42 |
2D geometry to 3D geometry | Sgonzalezg | ANSYS Meshing & Geometry | 11 | April 8, 2011 12:02 |
importing geometry into starccm | krishna086 | STAR-CCM+ | 0 | November 28, 2010 22:54 |
car geometry | Arjun | FLUENT | 4 | September 1, 2007 16:08 |
urgent help! car geometry | Arjun | FLUENT | 0 | August 13, 2007 14:07 |