Writing patches during dynamic mesh motion simulation
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 |
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 |
All times are GMT -4. The time now is 02:20. |