|
[Sponsors] |
Help me about modifying the outlet patch boudary condition,how to write updateCoef() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2011, 03:13 |
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 |
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. |
|
|
|
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 |