CFD Online Logo CFD Online URL
Home > Forums

Blog Entries

Register Blogs Members List Search Today's Posts Mark Forums Read


Constant Temperature Volumetric region

Posted May 6, 2012 at 15:33 by peterliu

how the energy equation implemented in FLUENT

Originally Posted by evcelica View Post
Yes Glenn, that's exactly what I was saying, for example:

E.genSource = (T.desired - Temperature)*c.p*density*(1/time constant)

It still not instantly switching to the new temperature, as you still have some sort of a time constant but you can make it very very small.
What you choose as a time constant will be where it starts approaching your temperature, so you could choose 1sec or 10^-whatever
New Member
Posted in Uncategorized
Views 663 Comments 0 peterliu is offline Edit Tags

Testing Engrid installer on various Distributions

Posted May 6, 2012 at 09:29 by elvis

I tested the Engrid installer

mkdir ~/Software
cd ~/Software
source build.bash ubuntu-11.10

worked fine on ubuntu except for 12.04 „Precise Pangolin“
also no problems on aptosid except for aptosid 2011-03 "Πόνος"
Senior Member
Posted in Uncategorized
Views 1296 Comments 0 elvis is offline Edit Tags

Set (Initial) Internal Fields Using #codeStream

Posted April 23, 2012 at 13:55 by Hisham (Notes for OpenFOAM!)

To set up (initial) internal fields of variables according to an expression, one can use the #codeStream feature as:
internalField  #codeStream
        const IOdictionary& d = static_cast<const IOdictionary&>(dict);
        const fvMesh& mesh = refCast<const fvMesh>(d.db());
        scalarField fld(mesh.nCells(), 12.34);// uniform value of the field as 12.34 or just fld(mesh.nCells())
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 1280 Comments 1 Hisham is offline Edit Tags

Generating nonuniform meshes with sizefunction

Posted April 18, 2012 at 21:57 by sunliming

Generating nonuniform meshes with sizefunction
Originally Posted by alberto View Post
Hello Ehsan,
the trick is exactly the one explained by Hrvoje in this thread.

Create a uniform mesh, with the number of nodes you need in the three directions. Then write a small utility which:

- Reads the mesh (see how this is done in all solvers or mesh manipulation utilities).

- Does

Posted in Uncategorized
Views 585 Comments 0 sunliming is offline Edit Tags

libOpenSMOKE - Making it work once again with OpenFOAM

Posted April 14, 2012 at 05:43 by wyldckat
Updated April 21, 2012 at 08:33 by wyldckat (updated current status)

The other day Tobi asked for my help on building
After looking at the code and doing some trial and error, basing myself also on Tobi's already collected information, I managed to get it built/working with OpenFOAM 1.7.x, 2.0.x and 2.1.x.

And since the original page only provided a rarball (on Linux?) of the source code, I decided to use my github account to harbor the original code along...
Super Moderator
Posted in wyldckat@github
Views 2411 Comments 0 wyldckat is offline Edit Tags

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