How to let the mesh motion solver just solve a small region near a moving boundary?
Hi,
I use mesh motion solver for a moving boundary, and it takes a lot of time to move the whole mesh, if setting the part of mesh just near the moving boundary to move can be realized(that means just solve mesh equation in a region near the moving boundary), then I can save much time to run the case. So how to let the mesh motion solver just solve a small region near a moving boundary? Can someone give me a hint? Thanks! Jingjing |
Take a look at subsetMotionSolverFvMesh (I think that's what it's called). Lets you use a subset mesh and prescribe mesh motion for that alone.
|
Hi
I use OpenFOAM-1.5, may I ask where is "subsetMotionSolverFvMesh", I cann't find it. Or you mean I should write a class that inherit from dynamicMotionSolverFvMesh" which will have the function I want? |
I suppose this is one of those features that are only available on OF-1.5-dev. You can find it at:
($FOAM_SRC)/dynamicFvMesh/subsetMotionSolverFvMesh It does precisely what you're looking for, using a cellSet for the subset mesh. It also includes a relaxation coefficient for blending. |
Thank you very much! I succeed in using subsetMotionSolverFvMesh, and can run my case in serial pattern,but fail in parallel pattern.
Code:
-------------------------------------------------------------------------- -How to display the decomposed part of every processor in paraFoam ,in order to examine? Thank you! |
Hi,
I use the modified decomposePar , but the case still can't work in parallel (see posts: http://www.cfd-online.com/Forums/ope...epar-sets.html http://www.cfd-online.com/Forums/ope...-part-2-a.html) First, I'm not sure whether I decompose correctly. I didn't use the decomposeParWithSets, just add some sentence to the original source file according to the domainDecomposition.C.Patch in the fist post, compile and run the modified decomposePar, Then I get the decompose information, Code:
[duanmu@localhost deckMesh]$ decomposePar -force However, parallel running still fail. Code:
[duanmu@localhost deckMesh]$ mpirun -np 2 interDyMFoam -parallel I desperately don't know what to do facing this information. Is there anyone can give me hint? Thank you all! |
Did you solve this? I'm not using a subsetMesh, but my case that works fine on one processor fails to work in parallel.
interFoam single and parallel work fine. interDyMFoam works for single but not parallel processors case. I'm using OF1.7.1 if that helps. Mark |
Zhajingjing,
I'm also interested if you ever solved this. I'd like to use the subsetMotionSolver in combination with interDyMFoam on OF 1.6-ext. It is working fine in serial so far, but fails in parallel mode as well. I patched the domainDecomposition.C, but it seems that the patched one does not correctly decompose the subfolders in /0 for the subSet part. Any hints would be highly appreciated! Arne |
Any update for make subsetmotion solver work in parallel?
|
Any update on this issue?
|
All times are GMT -4. The time now is 21:21. |