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 20, 2021, 00:45
Default How to extract mesh Information just after meshing?
  #1
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
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
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 4 August 25, 2023 08:58
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 15:41
[Gmsh] 3D coil mesh: can't create the volume? RomainBou OpenFOAM Meshing & Mesh Conversion 3 July 18, 2016 06:09
Meshing: Smoothing Mesh for LES tobitj STAR-CCM+ 4 February 26, 2013 17:51
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


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