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

[mesh manipulation] How to extract mesh Information just after meshing?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2021, 23:45
Default How to extract mesh Information just after meshing?
  #1
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 74
Rep Power: 4
sunagra27 is on a distinguished road
Dear All,


I am trying to get mesh information especially face centre mesh details for a particular patch using the below code:


Code:
const surfaceVectorField& Cf = mesh.Cf();
1. I know how to get the mesh information during simulation, meaning I will put this code in 0/T file and run the simulation.
This provides the face centre details of the mesh.

2. But where to insert the code to get the details of mesh without running the simulation? Or before running the simulation?

Any leads will be appreciated.

Regards,
Sunag R A.
sunagra27 is offline   Reply With Quote

Reply

Tags
facecentre, mesh, openfoam, patch, simulation

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
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 14:41
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 2 July 29, 2020 15:04
[Gmsh] 3D coil mesh: can't create the volume? RomainBou OpenFOAM Meshing & Mesh Conversion 3 July 18, 2016 05:09
Meshing: Smoothing Mesh for LES tobitj STAR-CCM+ 4 February 26, 2013 16:51
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


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