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

chtMultiRegionFoam - solid diffusion number dimension

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By theoME

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2016, 17:00
Default chtMultiRegionFoam - solid diffusion number dimension
  #1
New Member
 
Florian
Join Date: Mar 2014
Posts: 1
Rep Power: 0
theoME is on a distinguished road
Hello

in

OpenFOAM-3.0.1/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C

the calculation of the solid diffusion number is given, which is basically:

DiNum = alpha * deltaT * deltaCoeffs()

with the thermal diffusivity alpha=kappa/rho/cp. If DiNum should be dimensionless, deltaCoeffs() should have the dimension 1/m^2.

The calculation of deltaCoeffs() is given in:
OpenFOAM-3.0.1/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolation/surfaceInterpolation.C

and discussed in
http://www.cfd-online.com/Forums/ope...ltacoeffs.html

From that I expect the dimensions of deltaCoeffs() to be 1/m, so that an additional 1/m is missing somewhere (if DiNum is expected to be dimensionless).

I would really appreciate if someone could shed light on this issue.

Best regards

Florian
bikooo3878 and Kummi like this.
theoME is offline   Reply With Quote

Old   January 23, 2023, 15:43
Default
  #2
Member
 
Mostafa
Join Date: Sep 2016
Posts: 30
Rep Power: 9
bikooo3878 is on a distinguished road
It's been so many years but I'm having the same question Have you found an answer?
Also, I'm under the impression that delfaCeoffs() is dimensionless; referring to basicFvGeometryScheme.C, line 156:
"Constructing differencing factors array for face gradient".

The calculation of DiffNo is given as

surfaceScalarField kapparhoCpbyDelta
(
sqr(mesh.surfaceInterpolation::deltaCoeffs())
*fvc::interpolate(kappa)
/fvc::interpolate(Cprho)
);

const scalar DiNum = max(kapparhoCpbyDelta).value()*runTime.deltaTValue ();

So what is the square root of deltaCoeffs() ?
bikooo3878 is offline   Reply With Quote

Old   September 24, 2023, 09:58
Default
  #3
New Member
 
Join Date: Mar 2023
Posts: 3
Rep Power: 3
kanata is on a distinguished road
As I know, in OpenFOAM, sqr(x) == x^2. So the dimension is correct.
kanata 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
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 18:32
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03
[blockMesh] --> foam fatal error: lillo763 OpenFOAM Meshing & Mesh Conversion 0 March 5, 2014 10:27


All times are GMT -4. The time now is 01:00.