CFD Online Logo CFD Online URL
Home > Forums

Blog Entries

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


blockMesh non-uniform grid

Posted November 10, 2016 at 14:32 by kindle

This way we can estimate already order of magnitude.

Originally Posted by hjasak View Post
Actually, the grading factor in blockMesh is defined as the ratio of the last to first cell size, which is much better behaved that defining the number of cells and the geometric expansion ratio. I suppose we have both done the same thing :-)

New Member
Posted in Pre-processing
Views 1269 Comments 0 kindle is offline Edit Tags

Customized fvOptions-class for momentum source: no rule to make target

Posted November 10, 2016 at 13:00 by kindle
Updated February 23, 2017 at 04:06 by kindle

Another one

Originally Posted by potentialFoam View Post
Dear Foamers,

I would like to create my own fvOptions-class to introduce a momentum source term. (Unfortunately, none of the existing classes help me.)

I copied the 'actuationDiskSource'-folder,
I renamed the files and names inside from 'actuationDisk...' to 'newSource...',
I added the 'newSource.C'-file in '$FOAM_SRC/fvOptions/Make/files',
then I tried to compile it with 'wmake' and 'wmake libso'.
New Member
Posted in programming
Views 285 Comments 0 kindle is offline Edit Tags

Using fvOptions to add a momentum source

Posted November 10, 2016 at 12:57 by kindle
Updated February 23, 2017 at 04:07 by kindle

The problem in channel395
Originally Posted by huangxianbei View Post
After a period of searching , I continue my calculation for a much longer time, the velocity at the domain center oscillating around 0.15m/s(the Ubar=0.1335m/s), about 1.1times. So this is exactly what it should be. The first problem is solved.

However, I'm still not quite understand the second problem. How can we initialize the p ,nusgs fields? Or my misunderstanding, just perturbU required for the velocity field?
And fvOptions in channel395...
New Member
Posted in runtime
Views 271 Comments 0 kindle is offline Edit Tags


Posted November 9, 2016 at 06:14 by kindle
Updated November 9, 2016 at 10:50 by kindle

Requirement : paraview not the wrapper paraFoam of Openfoam [maybe because it is partially compiled].

1. start paraview
2. tools - start trace
3. openfile (with *.foam)
4. ...
5. save image etc.
6. stop trace and a window will pop out with python script
7. creat
8. run with pvpython (executable in paraview) or add on first line like #!/opt/ParaView-4.1.0-Linux-64bit/bin/pvpython
9. chmod +x ; execute
New Member
Posted in Post-processing
Views 288 Comments 0 kindle is offline Edit Tags

OpenFOAM-v3.0+ installation in CentOS 6 using Intel compilers

Posted November 6, 2016 at 17:07 by albertsk
Updated November 6, 2016 at 22:24 by albertsk

This post is to show how to compile OpenFOAM-v3.0+ from using Intel compilers in CentOS 6. Most procedures are similar to source-pack compilation of OF using Gcc in Ubuntu (especially 16).

Key procedures include
1. Untar both ThirdParty-v3.0+.tgz and OpenFOAM-v3.0+.tgz.
2. Change the compiler from the default Gcc to Icc in OpenFOAM-v3.0+/etc/bashrc.
3. Set the OF environment
source  etc/bashrc
4. Open ~/OpenFOAM/OpenFOAM-v3.0+/etc/config/
New Member
Posted in Uncategorized
Views 374 Comments 0 albertsk is offline Edit Tags

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