|
[Sponsors] |
January 20, 2019, 14:14 |
Outlet Pressure BC dependent from velocity
|
#1 |
New Member
Nicola D'Ettole
Join Date: Nov 2018
Posts: 12
Rep Power: 7 |
hI,
is possible to assign Pressure value on a patch based on a user-defined function of velocity in this patch ? p at outlet patch = f_user (U at outlet patch)... |
|
December 20, 2019, 04:13 |
|
#2 |
New Member
Frédéric MR
Join Date: Jun 2019
Posts: 18
Rep Power: 6 |
Hi Nicola,
Yes it is. You need to install swak4foam and in the P file (0 directory) in outlet patch part, set : type groovyBC; valueExpression "f(U)"; value your initial value; And in your controlDict file, add libs ( "libOpenFOAM.so" "libSimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libgroovyBC.so" ) (not sure for all librarie adds but it works for me). The next problem will be the convergence (my current step...) Sincerly |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 06:40 |
Bearing simulation outlet pressure | Tierce | CFX | 1 | October 31, 2018 16:00 |
Pressure Boundary Inlet and Outlet | AS_Aero | CFX | 5 | March 28, 2018 10:46 |
The method on dealing with velocity in static pressure outlet boundary condition | mona.li | CFX | 2 | September 30, 2017 01:33 |
changing velocity (outlet) BC to pressure outlet | majid_kamyab | FLUENT | 7 | October 22, 2014 11:50 |