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

[blockMesh] cavity.OpenFOAM file empty, what to do?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2020, 17:20
Default cavity.OpenFOAM file empty, what to do?
  #1
New Member
 
Daniel
Join Date: Dec 2020
Posts: 2
Rep Power: 0
daniel.s is on a distinguished road
I've asked this question at
https://stackoverflow.com/questions/...pty-what-to-do
I'm reposting here to draw more attention.


I'm learning OpenFOAM and I'm trying to visualize the mesh for the cavity tutorial. That doesn't work. I think the problem is that the cavity.OpenFOAM is empty.
ParaView doesn't show a mesh when opend with


~$ cd data/pjs/openfoam_testruns/cavity/
~/data/pjs/openfoam_testruns/cavity$ paraFoam

Created temporary 'cavity.OpenFOAM'



ParaView opens, but the Render View area in it is blank. The generated file cavity.OpenFOAM is empty.


I've ran blockMesh before running paraFoam.
daniel.s is offline   Reply With Quote

Old   December 7, 2020, 02:37
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 395
Rep Power: 7
AtoHM is on a distinguished road
As the answer says in the other thread - the .foam or .OpenFOAM files are always empty files. Whether you see something there depends on the folders and their content within the case folder. In order to show a mesh, you need mesh files located at constant/polyMesh. Maybe blockMesh failed and didnt write anything?
I see Paraview has highlighted "Apply" button. Maybe you just didn't hit it? You need to hit apply to see something initially.
AtoHM is offline   Reply With Quote

Old   December 7, 2020, 19:32
Thumbs up Thanks!
  #3
New Member
 
Daniel
Join Date: Dec 2020
Posts: 2
Rep Power: 0
daniel.s is on a distinguished road
Yes hitting the apply button was what I missed indeed. I need to read the tutorial more carefully. Thank you for directing me there.
daniel.s is offline   Reply With Quote

Reply

Tags
blockmesh, parafoam, paraview

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 33 December 19, 2020 14:39
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 4 February 27, 2020 15:57
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


All times are GMT -4. The time now is 23:53.