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

Running a solver from a case directory stored anywhere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2014, 17:14
Default Running a solver from a case directory stored anywhere
  #1
Member
 
Michael Kruger
Join Date: Jul 2014
Location: South Africa
Posts: 38
Rep Power: 12
mich_K is on a distinguished road
I am trying to run the simpleFoam solver but get the following 'error' in the terminal:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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   : simpleFoam
Date   : Aug 07 2014
Time   : 22:04:55
Host   : "mich-desktop"
PID    : 23692
Case   : /home/mich/Dropbox/Akademie/Sem2/MSM781/Assignments/Ass_1/CFD
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 field p

Reading field U

Reading/calculating face flux field phi



--> FOAM FATAL IO ERROR: 
keyword SIMPLE is undefined in dictionary "/home/mich/Dropbox/Akademie/Sem2/MSM781/Assignments/Ass_1/CFD/system/fvSolution"

file: /home/mich/Dropbox/Akademie/Sem2/MSM781/Assignments/Ass_1/CFD/system/fvSolution from line 22 to line 42.

    From function dictionary::subDict(const word& keyword) const
    in file db/dictionary/dictionary.C at line 643.

FOAM exiting
What must I do to be able to run a solver from a case directory stored anywhere on my computer?

Thank you in advance.
mich_K is offline   Reply With Quote

Old   August 8, 2014, 04:54
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
Hi,

The "keyword BLABLA is missing" always means, that the solver is missing something in a certain file.
So you in this case "SIMPLE" is missing in the file fvSolution.

This is how it is supposed to look:

Code:
SIMPLE
{
        nNonOrthogonalCorrectors 1;
    residualControl
    {
            p               1e-5;
            U               1e-5;
        k        1e-5;
        omega        1e-5;
    }
}
It just tells the simpleFoam solver how to handle some things such as the number of nNonOrthogonalCorrectors and residual control. Normally you need to copy and paste these things from older cases. I guess you will find such a piece of code in your fvSolution file but for a different solver (PIMPLE, PISO, ??)

Philipp.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   August 8, 2014, 04:56
Default
  #3
Member
 
Michael Kruger
Join Date: Jul 2014
Location: South Africa
Posts: 38
Rep Power: 12
mich_K is on a distinguished road
Thank you very much Phillipp.

I'm very new to openFOAM so am still learning, but am enjoying the process allot.

Thanks for the help!
__________________
-------------------------------------------------------
Michael
mich_K is offline   Reply With Quote

Old   August 8, 2014, 04:57
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
I know. I asked the same questions a few months ago and was happy about the help here...
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Reply

Tags
error, simplefoam, solver


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
interFoam running blowing up sandy13 OpenFOAM Running, Solving & CFD 2 May 5, 2015 08:16
Segmentation fault running waveDyMFoam solver (mod. interDyMFoam solver - waves2Foam) Ed R OpenFOAM Running, Solving & CFD 5 July 2, 2013 12:36
Logging files (.C and .H) the solver uses during the solution of a case Bufacchi OpenFOAM 2 February 1, 2012 09:07
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
How to save a case running in background us FLUENT 0 July 6, 2005 11:43


All times are GMT -4. The time now is 12:19.