CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

Writing patches during dynamic mesh motion simulation

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

LinkBack Thread Tools Display Modes
Old   December 24, 2015, 05:13
Default Writing patches during dynamic mesh motion simulation
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 123
Rep Power: 11
eelcovv is on a distinguished road
Dear all,

I am trying to run a dynamic mesh motion simulation (foam-extend-3.2) with a floatingBodyMesh.

During the run I am trying to write the patch of the barge at regular intervals using swak4foam

type surfaces;
outputControl outputTime;
fields ();
surfaceFormat vtk;
barge_wall {
type patch;
patchName barge;
interpolationScheme cellPoint;

Here is the problem: the barge points are not updated! So it keeps writing the barge at position time=0, whereas the full data field write the changing mesh points

I found in one of the swak4foam presentations that dynamic mesh handling is not by swak4foam, so I am looking for an alternative way to do write my barge patch

Does anybody has experience with writing patch during dynamic mesh motion runs?

Any hints appreciated!

eelcovv is offline   Reply With Quote

Old   January 16, 2016, 16:21
Senior Member
kmooney's Avatar
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 321
Rep Power: 11
kmooney is on a distinguished road
I know that sample can dump a patch as a VTK, you might be able to fold part of the code into your solver and have it write the patches out on the fly as well.
kmooney is offline   Reply With Quote


dynamic mesh, floatingbodymesh, patch field, swak4foam, write

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
Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Mesh Utilities 57 February 1, 2015 09:25
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Dynamic mesh simulation (pimpleDyMFoam) problem sidlof OpenFOAM Running, Solving & CFD 6 April 12, 2013 11:24
problem in writing CEL expressions for mesh motion hasan56 CFX 2 October 20, 2011 12:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09

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