# Using simpleFoam with water

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

 October 22, 2007, 14:04 Hello, Is there a way to se #1 Member   nicolas Join Date: Mar 2009 Location: Glasgow Posts: 42 Rep Power: 9 Hello, Is there a way to setup the fluid density in simpleFoam? I would like to use water, so far i have set up my cases to run at similar reynolds number using high velocities (~100m/s) in my cases. Not sure if this is the best way, since the cases are more unstable when running at higher velocities (same y+ values). Nico

 October 22, 2007, 14:13 Fluid density is constant: tha #2 Senior Member   Hrvoje Jasak Join Date: Mar 2009 Location: London, England Posts: 1,783 Rep Power: 22 Fluid density is constant: that is why we use the kinematic viscosity. Therefore, divide your dynamic viscosity (in Pascal seconds) bu fluid density and specify that in the constant/transportProperties. Be careful to put back the density if you need wall forces or similar from the pressure (for consistency, p is kinematic pressure). Enjoy, Hrv __________________ Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk

 October 23, 2007, 04:52 Dear Hrvoje Jasak! Please, ans #3 Senior Member     Matvey Kraposhin Join Date: Mar 2009 Location: Moscow, Russian Federation Posts: 330 Rep Power: 11 Dear Hrvoje Jasak! Please, answer a stupid qustion: how can i convert relative pressure from simpleFoam to normal (total Pressure (kg*m/s^2)?? Many thanks for advice! __________________ Winter OpenFOAM days in Moscow - http://www.opencloudconf.ru/en/oscome.html

 October 23, 2007, 05:02 Requires a Napoleonic answer h #4 Senior Member   Hrvoje Jasak Join Date: Mar 2009 Location: London, England Posts: 1,783 Rep Power: 22 Requires a Napoleonic answer Multiply by the density Jasak __________________ Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk

 October 23, 2007, 05:11 But it is negative!!! for exam #5 Senior Member     Matvey Kraposhin Join Date: Mar 2009 Location: Moscow, Russian Federation Posts: 330 Rep Power: 11 But it is negative!!! for example, pressure in simpleFoam ranges from -1 to 1 - what does it means? __________________ Winter OpenFOAM days in Moscow - http://www.opencloudconf.ru/en/oscome.html

 October 23, 2007, 05:24 And, another question (i hope, #6 Senior Member     Matvey Kraposhin Join Date: Mar 2009 Location: Moscow, Russian Federation Posts: 330 Rep Power: 11 And, another question (i hope, i'm not too importunate, and sorry for bad English!) This question arises when i increase mesh density in cavity tutorial by 2 (both in x and y dimensions) - pressure range increases by 4... i think, it arises from Bernoulli eqn i mean, p/rho + w^2/2 + g*z = const... specific volume (= 1/rho) decreases by 4, so pressure range increasses 4 to satisfy equation. isn't it? __________________ Winter OpenFOAM days in Moscow - http://www.opencloudconf.ru/en/oscome.html

 October 23, 2007, 05:24 As you know, in incompressible #7 Senior Member   Hrvoje Jasak Join Date: Mar 2009 Location: London, England Posts: 1,783 Rep Power: 22 As you know, in incompressible flows, the pressure level does not matter: the flow is driven by the pressure gradient. Therefore, you can add any offset to the pressure field that you like - remember the pressure on the boundary being e.g. zero or the pressure in the reference point usually set to zero as well. Therefore, if you know the absolute pressure in any point of the domain, just shift the complete pressure field for this number, maybe adding 101325 Pascal if it makes you feel better. None of this actually matters when you are calculating the forces unless you've got vacuum outside. Hrv __________________ Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk

 October 23, 2007, 05:39 Many Thanks, Hrvoje Jasak, for #8 Senior Member     Matvey Kraposhin Join Date: Mar 2009 Location: Moscow, Russian Federation Posts: 330 Rep Power: 11 Many Thanks, Hrvoje Jasak, for Your advice! Many Thanks! I'll give it a try. __________________ Winter OpenFOAM days in Moscow - http://www.opencloudconf.ru/en/oscome.html

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post ehsan_vaghefi OpenFOAM Running, Solving & CFD 7 September 29, 2013 11:00 nuovodna OpenFOAM Running, Solving & CFD 7 May 19, 2010 04:58 sebastiank OpenFOAM Running, Solving & CFD 2 October 31, 2008 10:39 Andy FLUENT 1 May 22, 2006 08:51 Paul Main CFD Forum 10 August 30, 2004 11:56

All times are GMT -4. The time now is 23:21.