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

Writing patches during dynamic mesh motion simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2015, 05:13
Default Writing patches during dynamic mesh motion simulation
  #1
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
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

planesAndContours
{
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!

Regards
Eelco
eelcovv is offline   Reply With Quote

Old   January 16, 2016, 16:21
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
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.

https://github.com/OpenFOAM/OpenFOAM...ample/sample.C
kmooney is offline   Reply With Quote

Reply

Tags
dynamic mesh, floatingbodymesh, patch field, swak4foam, write


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
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 12:24
problem in writing CEL expressions for mesh motion hasan56 CFX 2 October 20, 2011 13:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


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