CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Changing geometry in OF: how can I manage this?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2012, 03:22
Default 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: 18
samiam1000 is on a distinguished road
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
Attached Files
File Type: pdf scheme.pdf (7.4 KB, 20 views)
samiam1000 is offline   Reply With Quote

Old   May 9, 2012, 04:26
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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
nimasam is offline   Reply With Quote

Old   May 9, 2012, 05:13
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
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
samiam1000 is offline   Reply With Quote

Old   May 9, 2012, 12:48
Default It depends...
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
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...
mturcios777 is offline   Reply With Quote

Old   May 10, 2012, 03:05
Default
  #5
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
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
samiam1000 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 19:42
2D geometry to 3D geometry Sgonzalezg ANSYS Meshing & Geometry 11 April 8, 2011 11:02
importing geometry into starccm krishna086 STAR-CCM+ 0 November 28, 2010 21:54
car geometry Arjun FLUENT 4 September 1, 2007 15:08
urgent help! car geometry Arjun FLUENT 0 August 13, 2007 13:07


All times are GMT -4. The time now is 18:30.