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

Calculation of Cell Reynolds Number

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2024, 03:27
Default Calculation of Cell Reynolds Number
  #1
Member
 
lalupp
Join Date: Jul 2010
Location: India
Posts: 47
Rep Power: 16
lalupp is on a distinguished road
I need to calculate cell Reynolds number of a particular cell for that
the characteristic length L is taken as cube root of Cell volume (mesh.V)
Also velocity vector
mesh().lookupObject<volVectorField>("U")


To access Nu value (kinematic Viscosity) I tried as follows but giving errors
const volScalarField k_viscosity = turbulence->nu();
double viscosity = k_viscosity[celli];


I am new to openfoam and trying openfoam-12 and NACA0012 verification case using SpalartAllmaras Turbulence model
1) How to access the Nu value
2) or Anywhere in the openfoam, cell Reynolds number is calculated?
Any help is Highly appreciated.
lalupp is offline   Reply With Quote

Reply

Tags
cell reynolds number


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
FOAM FATAL IO ERROR:file: unknown YatengQ OpenFOAM Running, Solving & CFD 0 January 31, 2023 08:14
Decomposing error simple method DanGode OpenFOAM Pre-Processing 1 July 27, 2021 07:58
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 15:53
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 05:49


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