Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick HowTo run #1

Open
ChristianKniep opened this issue Nov 14, 2014 · 1 comment
Open

Quick HowTo run #1

ChristianKniep opened this issue Nov 14, 2014 · 1 comment

Comments

@ChristianKniep
Copy link

Hey there,

I would like to use this example with my docker images.
Unfortunately I was not able to run the scenario out of the box.

I would like to have a step-by-step within the README.md...

Thx
Christian

root@da80e222dc4b:~/dbreak3d_vtutorial# blockMesh
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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   : blockMesh
Date   : Nov 14 2014
Time   : 16:41:35
Host   : "da80e222dc4b"
PID    : 593
Case   : /root/dbreak3d_vtutorial
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

Creating block mesh from
    "/root/dbreak3d_vtutorial/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology
--> FOAM Warning :
    From function polyMesh::polyMesh(... construct from shapes...)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 903
    Found 10 undefined faces in mesh; adding to default patch.

Check topology

    Basic statistics
        Number of internal faces : 4
        Number of boundary faces : 22
        Number of defined boundary faces : 22
        Number of undefined boundary faces : 0
    Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 0.146
    Block 0 cell size :
        i : 0.0073 .. 0.0073
        j : 0.0119997 .. 0.0119997
        k : 0.00876 .. 0.00876

    Block 1 cell size :
        i : 0.00670001 .. 0.00670001
        j : 0.0119997 .. 0.0119997
        k : 0.00876 .. 0.00876

    Block 2 cell size :
        i : 0.0073 .. 0.0073
        j : 0.0134 .. 0.0134
        k : 0.00876 .. 0.00876

    Block 3 cell size :
        i : 0.00599987 .. 0.00599987
        j : 0.0134 .. 0.0134
        k : 0.00876 .. 0.00876

    Block 4 cell size :
        i : 0.00670001 .. 0.00670001
        j : 0.0134 .. 0.0134
        k : 0.00876 .. 0.00876


Writing polyMesh
----------------
Mesh Information
----------------
  boundingBox: (0 0 0) (0.584 0.584 0.438)
  nPoints: 194463
  nCells: 184000
  nFaces: 562280
  nInternalFaces: 541720
----------------
Patches
----------------
  patch 0 (start: 541720 size: 2200) name: leftWall
  patch 1 (start: 543920 size: 2200) name: rightWall
  patch 2 (start: 546120 size: 4600) name: lowerWall
  patch 3 (start: 550720 size: 4200) name: atmosphere
  patch 4 (start: 554920 size: 7360) name: defaultFaces

End

root@da80e222dc4b:~/dbreak3d_vtutorial# setFields
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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   : setFields
Date   : Nov 14 2014
Time   : 16:41:39
Host   : "da80e222dc4b"
PID    : 594
Case   : /root/dbreak3d_vtutorial
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 setFieldsDict

Setting field default values
    Setting internal values of volScalarField alpha1

Setting field region values
    Adding cells with center within boxes 1((0 0 0) (0.1461 0.282 0.31))
    Setting internal values of volScalarField alpha1

End

root@da80e222dc4b:~/dbreak3d_vtutorial# interFoam
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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   : interFoam
Date   : Nov 14 2014
Time   : 16:41:43
Host   : "da80e222dc4b"
PID    : 595
Case   : /root/dbreak3d_vtutorial
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


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties



--> FOAM FATAL IO ERROR:
keyword phases is undefined in dictionary "/root/dbreak3d_vtutorial/constant/transportProperties"

file: /root/dbreak3d_vtutorial/constant/transportProperties from line 20 to line 62.

    From function dictionary::lookupEntry(const word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 437.

FOAM exiting

root@da80e222dc4b:~/dbreak3d_vtutorial#
@cyrush
Copy link
Owner

cyrush commented May 1, 2015

I apologize, I don't recall the exact openFoam incantations any more.

I followed:
http://cfd.direct/openfoam/user-guide/damBreak/
and
http://www.calumdouglas.ch/openfoam-example-3d-dambreak/

We have some more details here as well:
http://visitusers.org/index.php?title=Water_Flow_Tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants