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

How to size these variables?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2016, 06:05
Default How to size these variables?
  #1
New Member
 
xirtam's Avatar
 
Fábio
Join Date: Nov 2016
Posts: 19
Rep Power: 9
xirtam is on a distinguished road
Good morning, I want to size these variables in openfoam, but they are in centimeter and day. how to do this?

volVectorField gradk = fvc::grad(K);
gradkz = gradk.component(vector::Z);

fvScalarMatrix ThetaEqn
(
fvm::ddt(Theta)
==
fvc::laplacian(K,H)
+ gradkz
);

[H] = cm
[Theta] = cm^3 / cm^3
[K] = cm / d

Can anyone help?
xirtam 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
[blockMesh] edges not aligned with or perpendicular to non-empty directions ynos OpenFOAM Meshing & Mesh Conversion 6 March 26, 2020 15:02
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Gambit Unstructed (Tet) Mesh - size control newbie FLUENT 3 August 26, 2008 11:38
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Stack frame size, Origin 2000, fortran, a question. Sergei Chernyshenko Main CFD Forum 4 February 22, 1999 14:24


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