|April 21, 2011, 03:13||
Help me about modifying the outlet patch boudary condition,how to write updateCoef()
Join Date: Apr 2011
Posts: 1Rep Power: 0
here is the case, a box with two patches on top of that, one patch is for the input, the other patch is for the outlet, the inlet has a incompressible wind,the velocity U=1m/s, and I need to forcely set the outlet patch's p = 0.8*U*U, which means that the outlet patch's p is varying with the outlet's U, I have set the
the 0/p is :
value uniform 0;
which, myNewVelocity inherit from class:fixedValueFvPatchField, but I don't know how to set p=0.8*U*U in the updateCoeffs() function, please help me.
Last edited by fanghuabetty; April 21, 2011 at 03:57.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Write the cell area of a patch||Andrea_85||OpenFOAM||5||July 27, 2011 08:29|
|How to write a boundary condition which depends on a seperate patch||nzy102||OpenFOAM||9||August 8, 2010 12:55|
|mesh file for flow over a circular cylinder||Ardalan||Main CFD Forum||6||April 17, 2010 23:40|
|Write interpolated patch data of coarse mesh||braennstroem||OpenFOAM Running, Solving & CFD||0||June 4, 2009 13:55|
|VOF Outlet boundary condition in cfd - ace||JM||Main CFD Forum||0||December 15, 2006 09:07|