|
[Sponsors] |
error in fvsolutions file in interDyMFOAM sloshingTank2d |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 28, 2013, 01:05 |
error in fvsolutions file in interDyMFOAM sloshingTank2d
|
#1 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Dear all:
I recently started getting this strange error when trying to run sloshingTank2D in interDyMFoam while trying to do a parallel processing run: [0] [0] [0] --> FOAM FATAL IO ERROR: [0] Unable to set reference cell for field p Reference point pRefPoint (0 0 0.15) found on 2 domains (should be one) [0] [0] [0] file: /home/cfsengineers/OpenFOAM/cfsengineers-2.2.1/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/processor0/../system/fvSolution.PIMPLE from line 94 to line 103. [0] [0] From function void Foam::setRefCell ( const volScalarField&, const volScalarField&, const dictionary&, label& scalar&, bool ) [0] in file cfdTools/general/findRefCell/findRefCell.C at line 105.[1] [1] [1] --> FOAM FATAL IO ERROR: [1] Unable to set reference cell for field p Reference point pRefPoint (0 0 0.15) found on 2 domains (should be one) The lines referenced in fvsolution are as follows: PIMPLE { momentumPredictor no; nCorrectors 2; nNonOrthogonalCorrectors 0; nAlphaCorr 1; nAlphaSubCycles 3; cAlpha 1.5; correctPhi no; pRefPoint (0 0 0.15); pRefValue 1e5; } Any help would be greatly appreciated |
|
July 28, 2013, 04:06 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good morning Musaddeque,
I have just tried running the tutorial as is, and I do not get that error. Have you change the decomposition method/number of processors compared to the original tutorial? I suspect that the reason is the location of the point relative to the computational mesh. It is placed exactly on one of the faces, so if you are unlucky, the decomposition is along this face, and both processorN and processorM find the point. You could try to displace the point a little bit, or give a reference cell rather than a reference point. The latter should be robust on moving meshes. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
July 28, 2013, 17:22 |
error in fvsolutions file in interDyMFOAM sloshingTank2d
|
#3 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
Thankyou very much for your response. I did not have any problems until I changed the mesh size. In all cases I am using 12 processors. However in my first run, my mesh size was 271X271 and domain decomposition for parallel processing was (1 4 3). I kept the domain decomposition same but changed the mesh to 100X600. That is when I started getting the error messages. I tried something like (1 2 6), but still got the error. The final option is (1 1 12). Is there a rule of thumb that can be applied in such circumstances? Thanks Musa |
||
July 28, 2013, 20:16 |
error in fvsolutions file in interDyMFOAM sloshingTank2d
|
#4 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Niels:
Since the mesh size is 100X600 I changed the decomposition to (1 1 12) and interDyMFoam ran w/o complaints. Thanks for your suggestion. |
|
Tags |
field for p, fvsolutions, interdymfoam, sloshingtank2d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Error installing swak4Foam | Hisham | OpenFOAM Community Contributions | 182 | February 8, 2024 11:36 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |