CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Closing valve implementation

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

LinkBack Thread Tools Display Modes
Old   October 29, 2012, 13:43
Default Closing valve implementation
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 5
simpomann is on a distinguished road
Hey guys,

Some weeks ago I came up with a problem that was solved in this thread (basically by Mr Gschaider): How to change a boundary condition depending on a probe set

Simulation with closing valves

and a final(very simple) test case

tank filling (water/air), I think I messed up the BCs

In the meantime my work changed a bit:
What I need to do is closing a valve depending on the filling level of a tank.
I think I have to implement a solution-based dynamic mesh.
Is there any tutorial for this (only found tutorials with a mesh motion that didnt depend on the solution)?

If you see the attached picture you can see a slice through my valve: It is a self floating device that will close the ventilation pipe above it.

Is there any way that I can move the valve (single stl) depending on the fluid level?

In my dreams I would like to define a translation in z-direction depending on the alpha value of a probe set that is aligned in the centre axis of the valve in z-direction.

Any suggestions? Any help? I never used a dynamic mesh and couldnt find a "master-dynamic-mesh-dictionary" with all the options (saw something like this once for sampled surfaces).

Every help is highly appreciated!
Big thanks and greetings,

Attached Images
File Type: jpg valve.jpg (55.0 KB, 45 views)
simpomann is offline   Reply With Quote

Old   October 29, 2012, 16:07
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 5
simpomann is on a distinguished road
Ok I guess I have to specify a dynamicMeshDict with a linearBodyMotion, but I can't find out what I coefficients I have to specify. Is there any documentation? And how does it recognize which part of the mesh to move?

I think I must specify it somewhere before, but I am absolutely clueless.

A look at the source code didnt enlighten me.

Edit: A workaround for me could be to install a small flat surface in the pipe above the valve and vary the boundary condition (this at least I know how to do with groovyBC). But are there boundary conditions that would make this surface "invisible" at first? So that there will be a flow through the surface in the original setup?
Then I could change them similiar to a wall later (e.g. zeroGradient for p,alpha and fixedValue 0 0 0 for U).
simpomann is offline   Reply With Quote

Old   October 29, 2012, 17:14
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
I remember a post by Philippose a little while ago that had a spool-valve simulation using the dynamicTopoFvMesh class. Here it is:

engine simulation with mesh motion and topological changes

The setup is a little involved, but you can definitely give it a shot.
Sandeep Menon
University of Massachusetts Amherst
deepsterblue is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic exhaust valve closing simulation hamzamotiwala STAR-CCM+ 9 April 28, 2012 06:49
field function for closing valve G_Lee STAR-CCM+ 1 February 21, 2012 05:03
about valve closing problem during ANSYS FSI simulation ivy CFX 4 June 8, 2011 21:01
BC for opening and closing valve? Luk FLUENT 7 May 27, 2006 15:40
Valve Forces in CFdesign Mike Clapp Main CFD Forum 3 March 8, 2001 15:09

All times are GMT -4. The time now is 12:50.