# Mathematical expression for buoyantPressure boundary condition

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

 March 18, 2013, 10:25 Mathematical expression for buoyantPressure boundary condition #1 New Member   Adam Join Date: Mar 2012 Location: St. Paul, MN Posts: 12 Rep Power: 7 Hello all, Based on the release notes, "the buoyantPressure boundary condition is applied to the pressure field, which calculates the normal gradient from the local density gradient." I am not fluent in C++ and I'm having some difficulty determining the mathematical expression associated with this condition. The source code computes the gradient as: gradient() = -rho.snGrad()*(g.value() & patch().Cf()); I think the equivalent mathematical expression for this is n · p = -(n · ρ)gh, where n is the normal vector, p is pressure, rho is density, g is gravity and h is cell length. Would anyone be able to confirm or deny this? Thanks. rajibroy likes this.

 May 24, 2013, 04:31 #3 New Member   Join Date: May 2013 Posts: 3 Rep Power: 6 Hi Adam, thanks for your explanation, itīs really helpful. But I still donīt understand how to specify this BC type. Considering the example from doxygen documentation: myPatch { type buoyantPressure; rho rho; value uniform 0; }What does the specified value refer to in this example? Does anybody know the answer? Davide

 June 25, 2013, 11:08 #4 Member   Join Date: Mar 2013 Posts: 96 Rep Power: 6 Hi, thanks for your explanations,it's very helpful. I have a question: the pressure to which refers the formula is static pressure or p_rgh? In doxygen documentation it write p and seems is the static pressure but the formula is: p_rgh= p -rgh so I think that if doxygen refers to a static pressure there is a sign error... Probably is only an unfortunatly notation and p refers to ones of the pressure elencated (p_rgh,pd or ph_rgh) Thanks

 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 HMR CFX 5 October 10, 2016 05:57 murali CFX 5 August 3, 2012 08:56 Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23 Destry FLUENT 0 July 27, 2010 00:55 yating9901 FLUENT 3 June 28, 2010 12:26