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

how to probe cell volume and probe an entire surface

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Andrea23

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2020, 11:18
Default how to probe cell volume and probe an entire surface
  #1
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Hi,

I'm using probe function (in controlDict) for points, I can successfully probe T, V, etc; but I don't know how to probe the cell volume of probed point, I tried using these keyword in field:

cellVolume, mesh.V(), volume, volumeCell, V


Another question, do you know how to probe values of all cells adjacent (with shared face) a boundary surface?
I tried with some surfaceSample setting and putting "surface" and derivative commands in probe but did not work.

Thanks for your help
Andrea23 is offline   Reply With Quote

Old   December 10, 2020, 11:57
Default
  #2
New Member
 
mahtab
Join Date: Nov 2014
Posts: 11
Rep Power: 11
taban is on a distinguished road
Hi,
There is an extension to the checkMesh application that would be helpful for you. Please check: https://holzmann-cfd.com/community/d...s/mesh-quality

and the tutorial: https://www.youtube.com/watch?v=5HtE...ature=youtu.be
taban is offline   Reply With Quote

Old   December 10, 2020, 14:00
Default
  #3
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Quote:
Originally Posted by taban View Post
Hi,
There is an extension to the checkMesh application that would be helpful for you. Please check: https://holzmann-cfd.com/community/d...s/mesh-quality

and the tutorial: https://www.youtube.com/watch?v=5HtE...ature=youtu.be
thanks a lot, I'll check it tomorrow but seems it can resolve my problem for probe volume cell
Andrea23 is offline   Reply With Quote

Old   December 11, 2020, 12:03
Default
  #4
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14
Tobermory will become famous soon enough
You can get OF to write out the cell volumes using postProcess:
Code:
postProcess -func writeCellVolumes
or specify a time instance:
Code:
postProcess -func writeCellVolumes -time 100
This saves the volumes as a data field in the time folder(s). Once there, you can sample it, using the field name V. If your mesh is not changing, you should be able to do this for time 0, and do it just once before starting the run.
Tobermory is offline   Reply With Quote

Old   December 11, 2020, 12:29
Default
  #5
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
You can get OF to write out the cell volumes using postProcess:
Code:
postProcess -func writeCellVolumes
or specify a time instance:
Code:
postProcess -func writeCellVolumes -time 100
This saves the volumes as a data field in the time folder(s). Once there, you can sample it, using the field name V. If your mesh is not changing, you should be able to do this for time 0, and do it just once before starting the run.
thanks a lot, with this and postProcess -func probes I successfully got the cell volume.
Even the qualityMesh function linked in previous comment is very useful.
taban and Tobermory like this.
Andrea23 is offline   Reply With Quote

Reply


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
CFX-Post. Cubic volume and rectangular surface AlexVin CFX 5 July 14, 2021 11:34


All times are GMT -4. The time now is 20:34.