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

Dynamic mesh parallel error in OpenFOAM-5.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2018, 21:40
Default Dynamic mesh parallel error in OpenFOAM-5.x
  #1
New Member
 
Nadun Palmada
Join Date: Apr 2017
Posts: 15
Rep Power: 9
Nadun19 is on a distinguished road
Hi

I am trying to run a dynamic mesh problem in parallel (pimpleDyMFoam) (it runs perfectly fine in serial) but I get the following errors when trying to run in parallel:
Code:
Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityLaplacian
[2] 
[2] 
[2] --> FOAM FATAL IO ERROR: 
[2] size 2432 is not equal to the given value of 1218
[2] 
[2] file: /people/tpal287/OpenFOAM/tpal287-5.x/2d_symmetric/processor2/0/pointMotionU.boundaryField.upperWall from line 38 to line 2480.
[2] 
[2]     From function Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = Foam::Vector<double>; Foam::label = int]
[2]     in file /people/tpal287/OpenFOAM-5.x/src/OpenFOAM/lnInclude/Field.C at line 302.
[2] 
FOAM parallel run exiting
[2]
[3] --> FOAM FATAL IO ERROR: 
[3] size 2432 is not equal to the given value of 1216
[3] 
[3] file: /people/tpal287/OpenFOAM/tpal287-5.x/2d_symmetric/processor3/0/pointMotionU.boundaryField.upperWall from line 38 to line 2480.
[3] 
[3]     From function Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = Foam::Vector<double>; Foam::label = int]
[3]     in file /people/tpal287/OpenFOAM-5.x/src/OpenFOAM/lnInclude/Field.C at line 302.
[3] 
FOAM parallel run exiting
[3]
decomposePar runs perfectly fine without any errors. My pointMotionU in the case/0/ directory looks like:
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    leftBoundary
    {
        type            zeroGradient;
    }

    rightBoundary
    {
        type            zeroGradient;
    }

    centerLine
    {
        type            symmetryPlane;
    }
	
	upperWall
	{
		type			dynPerCircle;
		circleRadius	0.01500;
		xCompInitialCenter	0.0;
		speed			0.00500;
		yCompFinalCenter	0.01900;
		value			uniform (0 0 0);
	}
	
	frontAndBack
	{	
		type empty;
	}
}
Thanks in advance
Nadun19 is offline   Reply With Quote

Old   March 27, 2018, 10:19
Default
  #2
New Member
 
Join Date: Nov 2017
Posts: 8
Rep Power: 8
mojuss is on a distinguished road
Hi,

Which files do you have in the "0" folder ?

regards,

Arthur
mojuss is offline   Reply With Quote

Old   March 28, 2018, 17:31
Default
  #3
New Member
 
Nadun Palmada
Join Date: Apr 2017
Posts: 15
Rep Power: 9
Nadun19 is on a distinguished road
The <case>/0./ folder has p, U and pointMotionU files
Nadun19 is offline   Reply With Quote

Old   March 29, 2018, 03:42
Default
  #4
New Member
 
Join Date: Nov 2017
Posts: 8
Rep Power: 8
mojuss is on a distinguished road
delete (or keep a copy) of the pointMotionU file. decompose your case and run the case in parallel.
mojuss is offline   Reply With Quote

Old   April 9, 2018, 20:11
Default
  #5
New Member
 
Nadun Palmada
Join Date: Apr 2017
Posts: 15
Rep Power: 9
Nadun19 is on a distinguished road
The case doesn't run without the pointMotionU file, i.e. I get this error:
Code:
Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityLaplacian
[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] cannot find file "/home/nadun/OpenFOAM/3dcylinder/processor0/0/pointMotionU"
[0] 
[0]     From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
[0] [1]
Nadun19 is offline   Reply With Quote

Reply


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
Reconstruction of the parallel case with dynamic mesh makaveli_lcf OpenFOAM Post-Processing 7 October 18, 2023 11:28
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
Parallel processing for SDOF Dynamic mesh amohizin Fluent UDF and Scheme Programming 2 March 20, 2018 02:33
dynamic mesh in openfoam cctv OpenFOAM Running, Solving & CFD 0 March 19, 2014 02:04
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52


All times are GMT -4. The time now is 07:09.