CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

topoChangerFvMesh doesn't work in parallel

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 21, 2014, 05:35
Default topoChangerFvMesh doesn't work in parallel
  #1
New Member
 
NaiXian Leslie Lu
Join Date: Jun 2009
Location: France
Posts: 26
Rep Power: 16
LESlie is on a distinguished road
Hi Foamers,

I am working on needle transient motion of injectors and I have implemented my own class with layer removal based on movingTopoFvMesh. The injector mesh is converted from a fluent mesh. What I did is to find the patch, say NEEDLE with


Quote:
label patchID = boundaryMesh().findPatchID("NEEDLE");

Info << "patchID = " << patchID << endl;

const polyPatch& cPatch = boundaryMesh()[patchID];
then put the faces of this polyPatch as extrusion faces for the mesh modifier, and also mark the points on these faces for the motion, so that only these points will be moved.

The code is working in serial mode (attached pictures), however failed in parallel.

Serial log file
Create mesh for time = 0.0002

Selecting dynamicFvMesh needleTopoFvMesh
Initial time:0.0002 Initial curMotionVel_0 0 1)
Time = 0.0002

Adding zones and modifiers to the mesh

patchID = 1
cPatch =
type wall;
nFaces 20732;
startFace 3529376;

number of face in zone1 20732

Adding mesh zones.
Adding 1 mesh modifiers
patchID = 1
number of points marked 20986

.... reading data....

time:0.0002000017749 curMotionVel_0 0 1)
No topology change
Executing mesh motion
Execution time for mesh.update() = 1.67 s

..... flow calculation .....

Total Volume change = -3.598473946e-15
ExecutionTime = 31.52 s


Parallel log file

Selecting dynamicFvMesh needleTopoFvMesh
[0] Initial time:0.0002 Initial curMotionVel_0 0 1)
Time = 0.0002
Adding zones and modifiers to the mesh
[1] Initial time:0.0002 Initial curMotionVel_0 0 1)
[2] Initial time:0.0002 Initial curMotionVel_0 0 1)
[3] Initial time:0.0002 Initial curMotionVel_0 0 1)

patchID = 1
cPatch =
type wall;
nFaces 0;
startFace 879157;

number of face in zone1 0


Adding mesh zones.
Adding 1 mesh modifiers
patchID = 1
number of points marked 0

.... reading data....

time:0.0002000017749 curMotionVel_0 0 1)
No topology change
Executing mesh motion
Execution time for mesh.update() = 1.67 s

..... flow calculation .....

Total Volume change = 0

ExecutionTime = 14.72 s


Apparently when running in parallel (4 procs), polyPatch& cPatch = boundaryMesh()[patchID] failed to create the polyPatch. I am running on 2.2.x. I would really appreciate some help on this!

Have a nice day!
Attached Images
File Type: jpg 1.jpg (97.5 KB, 55 views)
File Type: jpg 2.jpg (97.2 KB, 46 views)
File Type: jpg 3.jpg (97.6 KB, 43 views)
__________________
Cheers,
Leslie LU

LESlie is offline   Reply With Quote

 


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
error while running in parallel using openmpi on local mc 6 processors suryawanshi_nitin OpenFOAM 10 February 22, 2017 21:33
Parallel processing problem newbie29 OpenFOAM Running, Solving & CFD 1 June 22, 2012 04:23
CFX parallel multi-node jobs fail w/ SLURM on Ubuntu 10.04 danieru CFX 0 February 17, 2012 06:20
Cases with small length scale work fine on a single processor but fail in parallel adona058 OpenFOAM Bugs 5 April 17, 2009 04:41
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


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