|
[Sponsors] |
July 16, 2014, 11:19 |
Boussinesq tutorials?
|
#1 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12 |
Hi
I am trying to run a tutorial using the Boussinesq approximation. I am quite new to openfoam and have completed the cavity and stress in a plate tutorials, however I need to use Boussinesq solver for my project. When I try to run the solver in the hot room tutorial I receive the error message, is my command prompt correct - also is there any tutorials I can access with instructions? gowain@gowain-Aspire-V5-122P:~/OpenFOAM/OpenFOAM-2.3.0/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom$ buoyantBoussinesqSimpleFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : buoyantBoussinesqSimpleFoam Date : Jul 16 2014 Time : 15:14:19 Host : "gowain-Aspire-V5-122P" PID : 3424 Case : /home/gowain/OpenFOAM/OpenFOAM-2.3.0/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom 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 Create mesh for time = 0 Reading g Reading thermophysical properties Reading field T --> FOAM FATAL IO ERROR: cannot find file file: /home/gowain/OpenFOAM/OpenFOAM-2.3.0/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/0/T at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting kind regards gowain |
|
July 16, 2014, 15:44 |
|
#2 |
Senior Member
|
dear Gowain,
did you check that if there is a T file in 0 case??? or what does it contain? p.s: did you remove or delete something from that tutorial? |
|
July 17, 2014, 14:31 |
|
#3 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12 |
Hi
thanks for the response. there is a T.org file which I found quite strange; the T.org file reads: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300; boundaryField { floor { type fixedValue; value uniform 300; } ceiling { type fixedValue; value uniform 300; } fixedWalls { type zeroGradient; } } // ************************************************** ******************** I am sure I have not deleted any files. kind regards g |
|
July 17, 2014, 14:43 |
|
#4 |
Senior Member
|
just make a copy of "T.org" and then rename it to "T", the tutorial will work correctly.
|
|
July 18, 2014, 14:53 |
|
#5 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12 |
Thank you very much
|
|
October 17, 2014, 06:27 |
|
#6 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
Hi everybody, I'd like to run the hotRoom tutorial as a starting point to simulate a simple case of room ventilation. I obviously rename the file T.org, but I have an error message anyway.
Code:
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 Create mesh for time = 0 Reading g Reading thermophysical properties Reading field T --> FOAM FATAL IO ERROR: cannot find file file: /home/user-a5/OpenFOAM/user-a5-2.3.0/run/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/0/T at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting |
|
October 17, 2014, 06:33 |
|
#7 | |
Senior Member
|
Quote:
1- check the file name again 2- check the address, i.e the name of 0 case. 3- try it not using parallel processing |
||
October 17, 2014, 07:38 |
|
#8 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
Dear adambarfi, I checked again and it was all correct.
So I made a test and launch Allrun: the case ran without problems. I had a suspect, I read the script and found out I forgot to run setFields before the solver. I leave this post to help newbies like me to avoid my stupid error. Thanks anyway. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural Convection in a storage tank - boussinesq? | Jervds | CFX | 6 | October 2, 2016 03:53 |
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx | Jaro | OpenFOAM Running, Solving & CFD | 8 | March 16, 2016 08:27 |
Help with tutorials | jony | FLUENT | 0 | May 13, 2013 04:51 |
Boussinesq Tutorials | cbritan | OpenFOAM | 1 | December 12, 2010 22:57 |
Install tutorials | jonlemur | OpenFOAM Installation | 4 | August 8, 2007 15:15 |