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

Parameters units from 2D to 3D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2015, 16:53
Default Parameters units from 2D to 3D
  #1
Member
 
fouad abi
Join Date: Nov 2015
Location: Geneva, Switzerland
Posts: 42
Rep Power: 10
faab is on a distinguished road
Send a message via Skype™ to faab
Dear Foamers,
I am working on a 3D case using a modified version of the chtmultiregion solver, and for each region I obviously define equation constants and appropriate properties. My question is, do I have to modify these terms (units wise) when I go from a 2D case to a 3D model? I am quite new with Openfoam, my apologies if this question sounds basic.

Thanks a lot in advance for your help.
faab is offline   Reply With Quote

Old   November 18, 2015, 05:24
Default
  #2
Member
 
Nicole Andrew
Join Date: Sep 2014
Location: Pretoria, South Africa
Posts: 58
Rep Power: 11
Nicole is on a distinguished road
Hi Fauad,

Strictly speaking, OpenFOAM does not know about 2D cases. To run a 2D case you simply make a mesh once cell thick and make the front and back patches "empty".

So there should be no changes when going from 2D to 3D, except in your mesh and boundaries.

I do not understand your question though - what units exactly are you talking about?

I am a novice myself so I apologise if I am misunderstanding you. I hope this helps!
Nicole is offline   Reply With Quote

Old   November 18, 2015, 06:22
Default
  #3
Member
 
fouad abi
Join Date: Nov 2015
Location: Geneva, Switzerland
Posts: 42
Rep Power: 10
faab is on a distinguished road
Send a message via Skype™ to faab
Hi Nicole,

Thank you for your reply. I was talking about the properties you define in the /constant folder. But I actually figured that it won't affect the results, the calculated values would be "incorrect" unit-wise but would simply have to be interpreted accordingly (for instance reading 5m2/s instead of 5m3/s for a flux).
faab is offline   Reply With Quote

Old   November 18, 2015, 06:49
Default
  #4
Member
 
Nicole Andrew
Join Date: Sep 2014
Location: Pretoria, South Africa
Posts: 58
Rep Power: 11
Nicole is on a distinguished road
Hi Fouad,

As far as I understand it OpenFOAM defines a flux as a surfaceScalarField or the m2/s passing through each face in the direction normal to the face. This is different to a volumetric flow rate (m3/s).

Perhaps you need to explain more about the equations you are using and the properties you are talking about
Nicole is offline   Reply With Quote

Old   November 18, 2015, 07:20
Default
  #5
Member
 
fouad abi
Join Date: Nov 2015
Location: Geneva, Switzerland
Posts: 42
Rep Power: 10
faab is on a distinguished road
Send a message via Skype™ to faab
Yes but I think you did not get my point, sorry maybe I was not clear enough. Say, in a 2D case, you will still define a pressure term for instance as a volscalarfield, even though you only work with a planar domain, the speed U you will define as a volvectorfield and state 0m/s for the 3rd dimension, etc. So going from 2D to 3D does not imply any change in the definition of the problem and therefore no need to adjust the units of the transportProperties, or EquationConstants etc.
As for the case I'm working on myself, it is a heat transfer case, where I try to compute the profile temperature inside a narrow channel filled with liquid Helium. To do so I need to compute equations where I define constant properties, like heat transfer coefficient for the Kapitza conductance etc. And it is the units of these properties that bothered me initally, hence my question.
faab is offline   Reply With Quote

Old   November 18, 2015, 07:40
Default
  #6
Member
 
Nicole Andrew
Join Date: Sep 2014
Location: Pretoria, South Africa
Posts: 58
Rep Power: 11
Nicole is on a distinguished road
Hi Fouad,

Thanks for clarifying. If you are still concerned, I think you will have to get someone (smarter than me) to look at all of your equations in more detail.
Nicole is offline   Reply With Quote

Old   November 18, 2015, 07:57
Default
  #7
Member
 
fouad abi
Join Date: Nov 2015
Location: Geneva, Switzerland
Posts: 42
Rep Power: 10
faab is on a distinguished road
Send a message via Skype™ to faab
Hi again,

No worries, so far I think it is fine. Thank you again for your help.
faab 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
Thermophysical Property Units johanz OpenFOAM Pre-Processing 2 December 16, 2018 10:08
Pro/E to ANSYS Parameterization Guide Trues ANSYS 4 April 18, 2018 05:52
How tensor parameters to be entered in CFX-pre? hadi.iraji CFX 1 May 7, 2013 04:03
units in OpenFOAM megacrout OpenFOAM 4 July 19, 2011 08:04
units of geometrical parameters lost SoobY ANSYS Meshing & Geometry 2 January 10, 2011 03:58


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