CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Error in condition CEL function

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 22, 2018, 05:21
Default Error in condition CEL function
  #1
Senior Member
 
karachun's Avatar
 
Join Date: Nov 2015
Posts: 244
Rep Power: 11
karachun is on a distinguished road
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
Is I`m right or doing something wrong? I get no errors, there are resultant force but maybe there are some methodological errors?
P.S. the theme title is not valid - I have some problems with CEL expression - but solved it when I write this post)
karachun is offline   Reply With Quote

 


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
[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


All times are GMT -4. The time now is 11:51.