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

error in parallel run

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mkraposhin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2012, 08:38
Default error in parallel run
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
I run the case in serial scheme but when want to run in parallel it desn't perform.
thesis@thesis-X58A-UD7:~/Desktop/method_4_2_2(revised)-laminar.042$ decomposePar
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-0bc225064152
Exec : decomposePar
Date : Jan 29 2012
Time : 14:40:05
Host : "thesis-X58A-UD7"
PID : 6431
Case : /home/thesis/Desktop/method_4_2_2(revised)-laminar.042
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Time = 0
Create mesh
Calculating distribution of cells
Selecting decompositionMethod simple
Finished decomposition in 0 s
Calculating original mesh data
Distributing cells to processors
Distributing faces to processors
Distributing points to processors
Constructing processor meshes
Processor 0
Number of cells = 3750
Number of faces shared with processor 1 = 30
Number of processor patches = 1
Number of processor faces = 30
Number of boundary faces = 7780
Processor 1
Number of cells = 3750
Number of faces shared with processor 0 = 30
Number of faces shared with processor 2 = 30
Number of processor patches = 2
Number of processor faces = 60
Number of boundary faces = 7750
Processor 2
Number of cells = 3750
Number of faces shared with processor 1 = 30
Number of faces shared with processor 3 = 30
Number of processor patches = 2
Number of processor faces = 60
Number of boundary faces = 7750
Processor 3
Number of cells = 3750
Number of faces shared with processor 2 = 30
Number of processor patches = 1
Number of processor faces = 30
Number of boundary faces = 7780
Number of processor faces = 90
Max number of cells = 3750 (0% above average 3750)
Max number of processor patches = 2 (33.3333% above average 1.5)
Max number of faces between processors = 60 (33.3333% above average 45)
 
 
--> FOAM FATAL IO ERROR:
Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 30 the doubleScalar 2.6
file: /home/thesis/Desktop/method_4_2_2(revised)-laminar.042/0/R::boundaryField::walls::value at line 30.
From function Istream::readBegin(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 94.
FOAM exiting
thesis@thesis-X58A-UD7:~/Desktop/method_4_2_2(revised)-laminar.042$
 
immortality is offline   Reply With Quote

Old   December 29, 2012, 18:17
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Ehsan,

OK... I think you need to read once again some instructions on how to get help: http://www.cfd-online.com/Forums/ope...-get-help.html

Because from what you've provided, I can only guess that you're triggering a bug that has already been fixed in either OpenFOAM 2.1.1 and/or 2.1.x.

The two lines after the big "FOAM FATAL IO ERROR:" line should pretty much be self-explanatory, if you have access to the file it's pointing to, namely the file "0/R".

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 30, 2012, 12:32
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
hi
this is R folder.is there anything wrong with this?I only changed left patch to zeroGradient because this patch is changed between wall and surroundings.thank you for help.
Code:
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volSymmTensorField;
location "0";
object R;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform ( 0 0 0 0 0 0 );
boundaryField
{
walls
{
type compressible::omegaWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 2.6;
}
right
{
type kqRWallFunction;
value uniform ( 0 0 0 0 0 0 );
}
left
{
type zeroGradient;
}

empty
{
type empty;
}
}
 
// ************************************************************************* //
immortality is offline   Reply With Quote

Old   December 30, 2012, 13:40
Default
  #4
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Is file R used in Your case? If this file is not used in Your case, then You must remove it
mkraposhin is offline   Reply With Quote

Old   December 31, 2012, 04:38
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
hi.thanks.I used kOmegaSST and in walls it was set to kqrWallFunction.im not sure is this R related to that wall function?what folders are need to be in 0 folder for turbulency totally?
Thank you.
immortality is offline   Reply With Quote

Old   January 1, 2013, 13:10
Default
  #6
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
R - is Reynolds stress, predicted by k-omega sst model, it is not used in Your computation.

typical turbulent incompressible RAS case must have definition of initial and boundary conditions for next fields:
pressure - 0/p
velocity - 0/U
turbulent viscousity - 0/nut (for parametric RAS models)

Selected turbulence model introduces it's range of additional fields, for example:
kEpsilon - fields k and epsilon,
kOmega - fields k and omega,
SpalartAllmaras - fields k and nuTilde
RSTM - field R (reynolds stress tensor)
Choice of additional field is mutually exclusive

Selected additional fields determines contents of system/fvSchemes and system/fvSolution
wyldckat likes this.
mkraposhin is offline   Reply With Quote

Old   January 1, 2013, 13:22
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
thanks.my case is compressible.so for kOmegaSST model I only need to k and omega folders?right?then I should delete other folders related to turbulancy like R.am I right?
immortality is offline   Reply With Quote

Old   January 1, 2013, 14:35
Default
  #8
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Quote:
Originally Posted by immortality View Post
thanks.my case is compressible.so for kOmegaSST model I only need to k and omega folders?right?then I should delete other folders related to turbulancy like R.am I right?
Yes, You are right. for compressible case you need mut instead of nut, mut=rho*nut, temperature field T, alphat - turbulent enthalpy diffusion coefficient
mkraposhin 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
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 18 March 26, 2016 13:40
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 15:43
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 14:37
serial run fine, but parallel run diverged phsieh2005 OpenFOAM Running, Solving & CFD 2 October 6, 2009 09:33
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33


All times are GMT -4. The time now is 00:51.