pimpleDyMFoam - rho not found
1 Attachment(s)
Hi all - very good day.
I'd like to get your help here guys to look into this.. After run it, appear "cannot find rho". below is the comments theuser@oscae03:~/OpenFOAM/theuser-4.1/run/tutorials/incompressible/pimpleDyMFoam/final_test17$ pimpleDyMFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 4.1 Exec : pimpleDyMFoam Date : Apr 06 2017 Time : 03:05:57 Host : "oscae03" PID : 19972 Case : /home/theuser/OpenFOAM/theuser-4.1/run/tutorials/incompressible/pimpleDyMFoam/final_test17 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Selecting dynamicFvMesh dynamicMotionSolverFvMesh Selecting motion solver: displacementLaplacian Selecting motion diffusion: inverseDistance PIMPLE: no residual control data found. Calculations will employ 2 corrector loops Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type laminar No MRF models present Reading/calculating face velocity Uf No finite volume options present Courant Number mean: 3.94318e-05 max: 0.000470908 --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "/home/theuser/OpenFOAM/theuser-4.1/run/tutorials/incompressible/pimpleDyMFoam/final_test17/system/controlDict.functions.probes" from line 56 to line 70 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "/home/theuser/OpenFOAM/theuser-4.1/run/tutorials/incompressible/pimpleDyMFoam/final_test17/system/controlDict.functions.forces" from line 75 to line 96 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' forces forces: Not including porosity effects forceCoeffs forces: Not including porosity effects --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "/home/theuser/OpenFOAM/theuser-4.1/run/tutorials/incompressible/pimpleDyMFoam/final_test17/system/controlDict.functions.fieldAverage1" from line 101 to line 120 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' fieldAverage fieldAverage1: Starting averaging at time 0 Starting time loop Courant Number mean: 3.94298e-05 max: 0.000470884 deltaT = 5.99952e-06 Time = 5.99952e-06 GAMG: Solving for cellDisplacementx, Initial residual = 0, Final residual = 0, No Iterations 0 GAMG: Solving for cellDisplacementy, Initial residual = 1, Final residual = 6.39574e-06, No Iterations 5 GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.0114705, No Iterations 7 time step continuity errors : sum local = 2.53103e-09, global = -3.6467e-18, cumulative = -3.6467e-18 PIMPLE: iteration 1 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 5.61624e-08, No Iterations 1 smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 6.19727e-08, No Iterations 1 GAMG: Solving for p, Initial residual = 1, Final residual = 0.00913275, No Iterations 8 time step continuity errors : sum local = 2.09605e-09, global = -3.64661e-18, cumulative = -7.29331e-18 PIMPLE: iteration 2 smoothSolver: Solving for Ux, Initial residual = 1.62711e-05, Final residual = 4.687e-13, No Iterations 1 smoothSolver: Solving for Uy, Initial residual = 1.97001e-05, Final residual = 4.24567e-13, No Iterations 1 GAMG: Solving for p, Initial residual = 0.419213, Final residual = 7.03197e-07, No Iterations 28 time step continuity errors : sum local = 5.63715e-13, global = -3.64672e-18, cumulative = -1.094e-17 ExecutionTime = 0.11 s ClockTime = 1 s --> FOAM FATAL ERROR: Could not find rho From function void Foam::functionObjects::forces::initialise() in file forces/forces.C at line 196. FOAM exiting |
Hi,
I think this error is related to a wrong entry in the functions section in your controlDict. What does it look like? Rho should be defined in the following manner: Code:
rho rhoInf; Kate |
Quote:
Hi Kate- I already did the correct way but still happen the error. The file controlDict Quote:
|
Hi kate , is it something to do with my dynamic meshing?
Quote:
|
My case file -simulate two cylinders in tandem in pimpleDyMFoam
The p
Quote:
U Quote:
pointDisplacement Quote:
blockMeshDict Quote:
dynamicMeshDict Quote:
controlDict Quote:
:) |
My case file -simulate two cylinders in tandem in pimpleDyMFoam
Greetings from Kyrgyzstan!
Dear maasyraf3, Please see attached files. I have made very little changes in your controlDict, others are OK. Test case works fine. Regards, Kerim |
Hi Kerim! Tq vm for th modification
One more thing, the "rho" is equal to 1, means the rho of cylinder is 1kg/m3 or else? Sent from my M631Y using CFD Online Forum mobile app |
Quote:
Because i follow yours but still appear the what is rho. My OF is 4.0 Quote:
Sent from my M631Y using CFD Online Forum mobile app |
1 Attachment(s)
Hi,
Please see the attached file. There is all case file. Best, Kerim |
Try changing "rhoName" to "rho". The code for this was updated at some point.
|
Quote:
|
All times are GMT -4. The time now is 20:35. |