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

Help me about modifying the outlet patch boudary condition,how to write updateCoef()

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2011, 03:13
Default Help me about modifying the outlet patch boudary condition,how to write updateCoef()
  #1
New Member
 
betty
Join Date: Apr 2011
Posts: 1
Rep Power: 0
fanghuabetty is on a distinguished road
Hi
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 :
outlet
{
type myNewVelocity;
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.
fanghuabetty 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
How to write a boundary condition which depends on a seperate patch nzy102 OpenFOAM 12 March 10, 2022 20:40
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
Write the cell area of a patch Andrea_85 OpenFOAM 5 July 27, 2011 08:29
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 08:07


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