CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Boussinesq tutorials?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By adambarfi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2014, 11:19
Question Boussinesq tutorials?
  #1
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
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
eaglemckenna is offline   Reply With Quote

Old   July 16, 2014, 15:44
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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?
adambarfi is offline   Reply With Quote

Old   July 17, 2014, 14:31
Default
  #3
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
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
eaglemckenna is offline   Reply With Quote

Old   July 17, 2014, 14:43
Default
  #4
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
just make a copy of "T.org" and then rename it to "T", the tutorial will work correctly.
eaglemckenna likes this.
adambarfi is offline   Reply With Quote

Old   July 18, 2014, 14:53
Default
  #5
Member
 
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 12
eaglemckenna is on a distinguished road
Thank you very much
eaglemckenna is offline   Reply With Quote

Old   October 17, 2014, 06:27
Default
  #6
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
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
What's wrong with it? Thanks for your help.
vaina74 is offline   Reply With Quote

Old   October 17, 2014, 06:33
Default
  #7
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by vaina74 View Post
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
What's wrong with it? Thanks for your help.
hi,

1- check the file name again
2- check the address, i.e the name of 0 case.
3- try it not using parallel processing
adambarfi is offline   Reply With Quote

Old   October 17, 2014, 07:38
Default
  #8
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
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.
vaina74 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:09.