|
[Sponsors] |
June 22, 2018, 05:21 |
Error in condition CEL function
|
#1 |
Senior Member
Join Date: Nov 2015
Posts: 244
Rep Power: 11 |
Hello!
I make incompressible analysis and have negative values of Pressure even with included operating pressure value. It will be cavitation in model irl. At first assumption I decide to set negative pressure to zero to obtain lift force. I create two Expressions for Y force at surface, named "wall": Code:
P1 = if ((Total Pressure + 1 [atm]) < 0 [Pa], 0 [Pa], Total Pressure + 1 [atm]) Liftforce_y = areaInt_y(P1) @ wall + areaInt_y(Wall Shear) @ wall P.S. the theme title is not valid - I have some problems with CEL expression - but solved it when I write this post) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 01:47 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 01:27 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |