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

Time Dependency/ Scale Mesh/ Wall Definition

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 1, 2010, 09:34
Default Time Dependency/ Scale Mesh/ Wall Definition
  #1
New Member
 
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 7
robyn is on a distinguished road
Hello,

I am fairly new to OpenFoam and thus with that come many questions.

In any cases with OpenFoam its dependent on the Courant Number. If I enter the controlDict you can define deltaT. Now my question is in regards to steady state cases. Is deltaT time dependent or time iteration dependent? If time dependent why?

Next question: How do you scale the mesh? I have a .msh file created in Gambit (completed the fluentMeshToFoam) simple 2D case (channel flow, d=1m) I would like to scale my geometry but only in the x direction ie, change the diameter to 1 cm instead of 1 m. Is this possible in OpenFoam or does the geometry need to be changed in the originial Gambit file?

Final Question: In the boundary field how do I know which wall is which? ie in the icoFoam/elbow case there is 2 walls defined (wall-8, wall-4).
robyn is offline   Reply With Quote

Old   July 2, 2010, 04:46
Default ref. Scaling
  #2
New Member
 
Robert Langner
Join Date: Dec 2009
Location: Freiburg, Germany
Posts: 27
Rep Power: 7
Robat is on a distinguished road
Hi Robyn,

this might solve your scaling problem:
fluentMeshToFoam -case <case> -scaling '(<xFactor> <yFactor> <zFactor>)'

just scale x-Direction: '(0.01 1 1)'
Robat is offline   Reply With Quote

Old   July 2, 2010, 05:13
Default
  #3
New Member
 
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 7
robyn is on a distinguished road
Thanks for the response! I'll test it out.
robyn is offline   Reply With Quote

Old   July 2, 2010, 09:50
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
hi friend
the correct form of scaling command is like below , if u have any hint which help me to have various scaling in different direction it can be helpful
fluentMeshToFoam balbla.msh -scale 0.1
or
fluentMeshToFoam balbla.msh -scale '0.1'
nimasam is offline   Reply With Quote

Old   July 7, 2010, 04:21
Default
  #5
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 12
maddalena is on a distinguished road
Quote:
Originally Posted by nimasam View Post
hi friend
the correct form of scaling command is like below , if u have any hint which help me to have various scaling in different direction it can be helpful
fluentMeshToFoam balbla.msh -scale 0.1
or
fluentMeshToFoam balbla.msh -scale '0.1'
Well, you can first import your fluentmesh:
Code:
fluentMeshToFoam balbla.msh
and then scale it using
Quote:
transformPoint -scale '(0.001 1 0.1)'
in such a way that you can specify different scaling factor.

mad
maddalena is offline   Reply With Quote

Old   July 7, 2010, 04:23
Default
  #6
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 12
maddalena is on a distinguished road
Quote:
Originally Posted by robyn View Post
In any cases with OpenFoam its dependent on the Courant Number. If I enter the controlDict you can define deltaT. Now my question is in regards to steady state cases. Is deltaT time dependent or time iteration dependent? If time dependent why?
If you have a steady state case, deltaT is equal to the iteration number and it has no physical meaning. Also, Courant Number does not mean anything.

mad
maddalena is offline   Reply With Quote

Old   July 7, 2010, 06:53
Default
  #7
New Member
 
Robyn
Join Date: Jun 2010
Posts: 14
Rep Power: 7
robyn is on a distinguished road
Thank you!
robyn is offline   Reply With Quote

Old   July 7, 2010, 08:07
Default
  #8
New Member
 
Join Date: May 2010
Location: Cologne
Posts: 27
Rep Power: 7
marcbest is on a distinguished road
Quote:
Originally Posted by robyn View Post
Final Question: In the boundary field how do I know which wall is which? ie in the icoFoam/elbow case there is 2 walls defined (wall-8, wall-4).
in your case-folder you can type
foamToVTK

and then start paraFoam and then open "File/Open" the "VTK"-folder that has been created with foamToVTK. there you can open the main body and the patches, so you can see what is what, by clicking on the "eye" next to the patch name or main body.

regards
marcbest is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simulation not completed in HPDC (thin wall casting) flyingming FLOW-3D 3 January 20, 2010 12:24
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 10:20.