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

Reg. CEL for user-defined boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ghorrocks
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2013, 15:09
Post Reg. CEL for user-defined boundary condition
  #1
Senior Member
 
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13
nvarma is on a distinguished road
Hello,

You don't have to read the entire explanation to answer the query. You can go to the Questions at the bottom.

So I have to model a one way valve as a part of a much larger simulation. I was trying to model this by specifying boundary condition which would turn the "interface" into a wall in case pressure difference across is -ve and turn it into an interface(allowing flow) if pressure difference across is +ve (valve open).

Since it is a transient simulation and takes a lot of time, I don't want to physically model the valve, but at the same time avoid backflows that might be unrealistic.

I did read through the manual carefully, but I might have skipped through a lot of pages(it's too long).

So here are my questions:

>> How can I access the Pressure on both sides of a "surface" in CFX through expressions: any link to the syntax would do?
>> What is the best(fastest) way to average and compare the pressure on both sides of a surface?
>>Is there a way to change an interface into a "wall" allowing no normal flow during the simulation, and back?

Thank you very much. Any suggestions or comments appreciated.
nvarma is offline   Reply With Quote

Old   July 29, 2013, 22:02
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,715
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I would implement your valve using an interface with a define a conditional connection control to close and open it. I would use a function like areaAve(u velocity)@interface (assuming the flow is in the x direction at the valve) and if >0 then open it and if <0 then close it. Should be easy.
nvarma likes this.
ghorrocks is offline   Reply With Quote

Old   July 30, 2013, 11:08
Default
  #3
Senior Member
 
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13
nvarma is on a distinguished road
Thanks, I will try that.
But in the previous simulations, the flow profile varies across the cross section of the wall. i.e even though the average velocity is positive ,there are backflow at different parts, which is what I want to avoid.
nvarma is offline   Reply With Quote

Old   July 30, 2013, 19:06
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,715
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I used the areaAve function. That means if the area average velocity over the valve is forward the entire thing will be open, otherwise it will be entirely closed. This approach cannot result in it being partially open.
nvarma likes this.
ghorrocks is offline   Reply With Quote

Reply

Tags
averaging, cel, pressure, user defined boundary


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
User defined scalar boundary condition Philip FLUENT 1 December 4, 2013 10:23
where does wall boundary condition is defined? immortality OpenFOAM Running, Solving & CFD 2 January 23, 2013 06:37
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 11:32
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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