|
[Sponsors] |
March 20, 2018, 13:02 |
pitzdaily error missing p
|
#1 |
New Member
Johnny
Join Date: Mar 2018
Posts: 12
Rep Power: 8 |
Hi, I am following video tutorial https://www.youtube.com/watch?v=BG-dkp7z1fI
pitzdaily case. See 6:24 Error: Unable to set reference cell for field p Please supply either pRefCell or pRefPoint Why is this needed? It is not in the tutorial. I have noticed there exists a topic about similar problem, but not with pitzdaily and they did not mention what exactly they changed in the fvSolution. Just a moment, I will send the code. /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { p { solver GAMG; tolerance 1e-08; relTol 0.1; smoother GaussSeidel; } "(U|k|epsilon|omega|f|v2)" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-08; relTol 0.1; } } SIMPLE { nNonOrthogonalCorrectors 0; consistent yes; residualControl { p 1e-6; U 1e-6; "(k|epsilon|omega|f|v2)" 1e-3; } } relaxationFactors { equations { U 0.7; // 0.9 is more stable but 0.95 more convergent ".*" 0.3; // 0.9 is more stable but 0.95 more convergent } } // ************************************************** *********************** // |
|
March 21, 2018, 03:38 |
|
#2 | |
Member
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 93
Rep Power: 14 |
Quote:
|
||
March 21, 2018, 07:10 |
Thank you
|
#3 |
New Member
Johnny
Join Date: Mar 2018
Posts: 12
Rep Power: 8 |
Thank you so much.
https://cfd.direct/openfoam/user-guide/fvsolution/ However I got an error. wait a moment to paste it: Reading field U Reading/calculating face flux field phi --> FOAM FATAL IO ERROR: Illegal master cellID 0. Should be 0..0 file: /home/fsx/OpenFOAM/fsx-5.0/run/LaminarPipe3d/system/fvSolution.SIMPLE from line 39 to line 47. From function bool Foam::setRefCell(const volScalarField&, const volScalarField&, const Foam::dictionary&, Foam::label&, Foam::scalar&, bool) in file cfdTools/general/findRefCell/findRefCell.C at line 58. My code here: SIMPLE { nNonOrthogonalCorrectors 0; consistent yes; pRefCell 0; pRefValue 0; residualControl { p 1e-6; U 1e-6; "(k|epsilon|omega|f|v2)" 1e-3; } } relaxationFactors { equations { U 0.7; // 0.9 is more stable but 0.95 more convergent ".*" 0.3; // 0.9 is more stable but 0.95 more convergent } } I tested 0 , 0.0 and 0. values, all results error. Refence to cfdTools/general/findRefCell/findRefCell.C in unknown location (I cannot find cfdTools directory) |
|
March 21, 2018, 07:50 |
boundry conditions
|
#4 |
New Member
Johnny
Join Date: Mar 2018
Posts: 12
Rep Power: 8 |
p:
boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } wall { type zeroGradient; } } U: boundaryField { inlet { type fixedValue; value uniform (0502464 0 0); } outlet { type zeroGradient; } wall { type noSlip; } } Please see the error in the post above Edit: checkMesh outputs mesh is OK |
|
March 21, 2018, 08:54 |
|
#5 |
New Member
Johnny
Join Date: Mar 2018
Posts: 12
Rep Power: 8 |
Finally I have solved that:
SIMPLE { nNonOrthogonalCorrectors 0; consistent yes; residualControl pRefCell 0; pRefValue 0.0; { pRefCell 0; pRefValue 0.0; p 1e-6; U 1e-6; "(k|epsilon|omega|f|v2)" 1e-3; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pitzDaily validation | laurentD | OpenFOAM Running, Solving & CFD | 3 | June 2, 2020 04:11 |
Problem in 3D extension of pitzDaily | yfjok22 | OpenFOAM Running, Solving & CFD | 1 | October 19, 2016 11:39 |
[Other] Error during PitzDaily case | harsha_kulkarni | OpenFOAM Meshing & Mesh Conversion | 2 | April 12, 2014 02:12 |
icoFoam crashed (pitzDaily laminar) | RTom | OpenFOAM Running, Solving & CFD | 0 | January 5, 2014 14:36 |
Pressure problem in pitzDaily pisoFoam LES | fluentfreak | OpenFOAM Running, Solving & CFD | 0 | April 18, 2012 18:13 |