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

How to get cell length?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2013, 06:03
Default How to get cell length?
  #1
New Member
 
007
Join Date: Oct 2012
Posts: 9
Rep Power: 13
Chandler is on a distinguished road
Hi, everyone. I need to get the cell length deltax in my solver. How to achieve this? I find a surfaceScalarField definition of deltaCoeffs, but i need a volscalarField nor surfaceScalarField.

any help? thank you!
Chandler is offline   Reply With Quote

Old   June 14, 2013, 10:25
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
A volume scalar field doesn't make any sense. You have four neighboring cells in 2D, how are you going to put all distances in a single scalar per cell?
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess 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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 1 October 11, 2016 13:17
[snappyHexMesh] snappyhexmesh cell splitted ununiform..2D case sharonyue OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 23:34
Dynamic Mesh.. Layering.. cell addition kedarj14 OpenFOAM Programming & Development 0 January 29, 2010 01:48
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Running, Solving & CFD 0 October 27, 2009 08:47
DPM: Particle Tracking Madhukar FLUENT 1 July 24, 2007 03:51


All times are GMT -4. The time now is 04:48.