CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Moving surface (with swak4Foam perhaps?)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 7, 2014, 15:08
Default Moving surface (with swak4Foam perhaps?)
  #1
New Member
 
Kostis
Join Date: Jan 2013
Posts: 6
Rep Power: 4
cosbergel is on a distinguished road
Hi guys,

Does anybody know if I can have a moving surface (maybe using swak). Something like :

planeAverage
{
type swakExpression;
valueType surface;
surfaceName surface;
surface {
type plane;
basePoint (0 $expression 0);
normalVector (0 1 0);
interpolate false;
}
verbose true;
expression "blabla";
accumulations (
average
);
}

Thank you
Kostis
cosbergel is offline   Reply With Quote

Old   February 10, 2014, 16:42
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
what do you intend exactly? do you want to obtain averages on a moving wall? how it moves?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   February 11, 2014, 13:00
Default
  #3
New Member
 
Kostis
Join Date: Jan 2013
Posts: 6
Rep Power: 4
cosbergel is on a distinguished road
Thank you for the answer.
I am simulating a falling droplet and I would like to define a moving surface inside my domain which will have fixed distance from the interface of the droplet in order to calculate the drag force by integrating the momentum flow rate across the particular plane.
cosbergel is offline   Reply With Quote

Old   February 14, 2014, 12:18
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by cosbergel View Post
Thank you for the answer.
I am simulating a falling droplet and I would like to define a moving surface inside my domain which will have fixed distance from the interface of the droplet in order to calculate the drag force by integrating the momentum flow rate across the particular plane.
Interface of the droplet (assuming you're using interFoam) you can get with a isoSurface sampled surface. Distance from that surface is a bit more tricky. There comes a plugin-library with swak that defines functions related to sampled surfaces. One of them generates a field that is the distance from a surface.

So one way to do this (if I understand your problem correctly) would be with a sequence of functionObjects:

- generate iso-surface sampled Surface
- generate a field with the distance from that surface (but only use the values where alpha>0)
- from that field generate another isoSampled-Surface
- do your evaluations on that

Have a look at Examples/other/angledDuctImplciit. I think that is where I test these plugin-functions
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply

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
[ICEM] How to generate sunstructured "all-tri patch-dependant" surface mesh in ICEM? jash ANSYS Meshing & Geometry 19 July 23, 2013 18:48
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
Moving Surface Pedro Romero FLUENT 0 March 30, 2007 12:09
CFX 4.4 New free surface option Viatcheslav Anissimov CFX 0 April 3, 2002 06:27
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 02:03.