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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2020, 18: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, 03:37
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13
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, 20: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


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 36 July 16, 2024 04:52
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 17:05
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 11:05.