|
[Sponsors] | |||||
Writing patches during dynamic mesh motion simulation |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 20 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 19 ![]() |
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 |
|
|
|
|
|
![]() |
| Tags |
| dynamic mesh, floatingbodymesh, patch field, swak4foam, write |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |