|
[Sponsors] |
July 29, 2013, 16:09 |
Reg. CEL for user-defined boundary condition
|
#1 |
Senior Member
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13 |
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. |
|
July 29, 2013, 23:02 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
July 30, 2013, 12:08 |
|
#3 |
Senior Member
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13 |
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. |
|
July 30, 2013, 20:06 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
Tags |
averaging, cel, pressure, user defined boundary |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User defined scalar boundary condition | Philip | FLUENT | 1 | December 4, 2013 11:23 |
where does wall boundary condition is defined? | immortality | OpenFOAM Running, Solving & CFD | 2 | January 23, 2013 07:37 |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
vorticity boundary condition | bearcharge | Main CFD Forum | 0 | May 14, 2010 12:32 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |