|
[Sponsors] |
April 5, 2017, 06:42 |
pimpleDyMFoam - rho not found
|
#1 |
New Member
M. Amirul
Join Date: Mar 2017
Location: Malaysia
Posts: 18
Rep Power: 9 |
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
__________________
Best Regards, maasyraf3 |
|
April 5, 2017, 07:22 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
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; rhoInf 1.199; Kate |
|
April 5, 2017, 07:43 |
|
#3 | ||
New Member
M. Amirul
Join Date: Mar 2017
Location: Malaysia
Posts: 18
Rep Power: 9 |
Quote:
Hi Kate- I already did the correct way but still happen the error. The file controlDict Quote:
__________________
Best Regards, maasyraf3 Last edited by maasyraf3; April 5, 2017 at 17:37. |
|||
April 5, 2017, 07:50 |
|
#4 | |
New Member
M. Amirul
Join Date: Mar 2017
Location: Malaysia
Posts: 18
Rep Power: 9 |
Hi kate , is it something to do with my dynamic meshing?
Quote:
__________________
Best Regards, maasyraf3 Last edited by maasyraf3; April 5, 2017 at 17:39. |
||
April 5, 2017, 17:49 |
My case file -simulate two cylinders in tandem in pimpleDyMFoam
|
#5 | ||||||
New Member
M. Amirul
Join Date: Mar 2017
Location: Malaysia
Posts: 18
Rep Power: 9 |
The p
Quote:
U Quote:
pointDisplacement Quote:
blockMeshDict Quote:
dynamicMeshDict Quote:
controlDict Quote:
__________________
Best Regards, maasyraf3 |
|||||||
April 20, 2017, 19:11 |
My case file -simulate two cylinders in tandem in pimpleDyMFoam
|
#6 |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 121
Rep Power: 16 |
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 Last edited by kerim; June 12, 2020 at 17:52. |
|
April 20, 2017, 20:32 |
|
#7 |
New Member
M. Amirul
Join Date: Mar 2017
Location: Malaysia
Posts: 18
Rep Power: 9 |
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
__________________
Best Regards, maasyraf3 |
|
May 7, 2017, 06:12 |
|
#8 | ||
New Member
M. Amirul
Join Date: Mar 2017
Location: Malaysia
Posts: 18
Rep Power: 9 |
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
__________________
Best Regards, maasyraf3 |
|||
May 7, 2017, 23:49 |
|
#9 |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 121
Rep Power: 16 |
Hi,
Please see the attached file. There is all case file. Best, Kerim |
|
May 11, 2017, 09:21 |
|
#10 |
Member
Anders Utnes
Join Date: May 2017
Location: Norway
Posts: 34
Rep Power: 9 |
Try changing "rhoName" to "rho". The code for this was updated at some point.
|
|
June 5, 2017, 13:05 |
|
#11 |
New Member
Join Date: May 2017
Posts: 8
Rep Power: 9 |
That worked for me. I was going through a tutorial for OF 2.x with OF 4.1, and changing rhoName to rho fixed this error for me. One of the many things that needed to change to make the tutorial work properly.
|
|
Tags |
cylinder, pimpledymfoam, viv |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 15:11 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |