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

blockMesh doesn't generate a file.foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2023, 06:39
Default blockMesh doesn't generate a file.foam
  #1
New Member
 
Lorenzo
Join Date: Apr 2023
Posts: 2
Rep Power: 0
lome792e is on a distinguished road
Hi everyone!
I'm using openFoam (lynux) to run a k eps (simpleFoam) case. I'm importing a file.stl from an external cad, to use snappyHexMesh. For this reason, I need to create a parallelepiped that contains the stl geometry, and I need to visualize it correctly.
At first I was trying to run blockMesh: it creates correctly the polyMesh folder, but it doesn't generate the foam file of the parallelepiped.
This is what blockMesh says in the terminal:

/*---------------------------------------------------------------------------*\

========= |

\\ / F ield | OpenFOAM: The Open Source CFD Toolbox

\\ / O peration | Website: https://openfoam.org

\\ / A nd | Version: 10

\\/ M anipulation |

\*---------------------------------------------------------------------------*/

Build : 10-c4cf895ad8fa

Exec : blockMesh

Date : Apr 11 2023

Time : 11:30:29

Host : "lome-VirtualBox"

PID : 6382

I/O : uncollated

Case : /home/lome/OpenFOAM/lome-10/run/Lab_CFD/simulazioni_2023/Prova02023

nProcs : 1

sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)

allowSystemOperations : Allowing user-supplied system call operations



// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Create time



Reading "blockMeshDict"



Creating block mesh from

"system/blockMeshDict"

Creating block edges

No non-planar block faces defined

Creating topology blocks

Creating topology patches



Creating block mesh topology



Check topology



Basic statistics

Number of internal faces : 0

Number of boundary faces : 6

Number of defined boundary faces : 6

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 1

Block 0 cell size :

i : 0.009

j : 0.007

k : 0.01



There are no merge patch pairs edges



Writing polyMesh

----------------

Mesh Information

----------------

boundingBox: (-0.55 -0.07 0) (0.35 0.07 0.01)

nPoints: 4242

nCells: 2000

nFaces: 8120

nInternalFaces: 3880

----------------

Patches

----------------

patch 0 (start: 3880 size: 20) name: inlet

patch 1 (start: 3900 size: 20) name: outlet

patch 2 (start: 3920 size: 100) name: top

patch 3 (start: 4020 size: 100) name: bottom

patch 4 (start: 4120 size: 2000) name: spnw_rigth

patch 5 (start: 6120 size: 2000) name: spnw_left



End

so apparently it generates correctly the box, but it does not create a foam file. I tried also to use a tutorial case ( for example, pitzDaily), but still it does not create the foam file when I run blockMesh.
I found this discussion : http://www.cfd-online.com/Forums/ope...tml#post234151 - post #10 ; it does not help much.
Thank you for your help!!

Lorenzo

I
lome792e is offline   Reply With Quote

Old   April 13, 2023, 08:36
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 698
Rep Power: 12
AtoHM is on a distinguished road
The <whatever>.foam file is just an empty file. AFAIK no utility creates it. You can just copy it from whatever tutorial/case you already have or create it yourself with the touch command in linux.
AtoHM is offline   Reply With Quote

Reply

Tags
#blockmesh, #blockmeshdict, #openfoamcase


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
[blockMesh] blockMesh coordinate system pardoa OpenFOAM Meshing & Mesh Conversion 5 October 23, 2023 14:29
Problem with blockMesh yoshiyagi OpenFOAM Pre-Processing 2 November 7, 2022 06:49
[blockMesh] Problem with running blockMesh yoshiyagi OpenFOAM Meshing & Mesh Conversion 3 November 3, 2022 00:49
[blockMesh] blockMesh fails with Foam::error::printStack Illmatic OpenFOAM Meshing & Mesh Conversion 5 September 24, 2019 10:13
[blockMesh] Blockmesh to generate a surface-mounted cube eddykendo OpenFOAM Meshing & Mesh Conversion 0 December 11, 2018 22:53


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