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

Write an expression for pressure at a point

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2022, 09:26
Default Write an expression for pressure at a point
  #1
Senior Member
 
Mey
Join Date: Dec 2019
Posts: 121
Rep Power: 7
MNMK is on a distinguished road
Hello everybody,

I am simulating a water Tank in Transient. I would like the water flow at inlet reduce to Zero when the air pressure in the Water Tank (on the Top) reaches 3 bar. Therefore, I am trying to write an expression for pressure at a point to combine with mass flow at inlet. (see below)


AirP --> areaAve(Pressure)@User Point 1

INLET Massflow--> 0.05822[kg s^-1]*if(PAir<3[bar],1,0)

but It does not recognize the User Point 1.

May you give me a Tip or another solution?


Best regards,
MNMK is offline   Reply With Quote

Old   January 5, 2022, 13:30
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,903
Rep Power: 33
Opaque will become famous soon enough
You need to show the error message you are getting.

It makes no sense to compute areaXXX()@Point.. Does a point have an area?

There is a function to probe the value of a variable at a point, read documentation for details, such as

MyPressureAtMyLocation = probe(Pressure)@Point

Now, as far as I recall "Point" must be a point locator created either as a source point, or an existing coordinate-based monitor points. I do not recall if expressions support "Ansys CFX Solver" user locations.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Monitor Point expression value different from same expression in CFX-Post dvanb CFX 3 March 13, 2018 16:51
Referencing a User Location for a Monitor point expression in CFX pre ct18 CFX 2 February 18, 2018 16:31
Outlet boundary condition in interFoam Andrea_85 OpenFOAM Running, Solving & CFD 51 July 20, 2017 13:31
[blockMesh] error EOF in blockMesh Ahmed Khattab OpenFOAM Meshing & Mesh Conversion 7 May 17, 2012 00:37
How to request cfx to write variables at a point? Uday CFX 1 February 5, 2006 23:42


All times are GMT -4. The time now is 19:17.