CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Blog Entries

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

Old

Prism layers in openFOAM

Posted November 16, 2016 at 08:36 by kindle
Updated February 23, 2017 at 04:05 by kindle

prism

Quote:
Originally Posted by Giancarlo_IngChimico View Post
Hi everybody,

does anybody know how to create a mesh with PRIMS instead of HEX in "blocks" in blockMeshDict?
Is there any guide online?
Thanks
Quote:
Originally Posted by jango View Post
Hi j-avdeev,

This model (see attached files) I created with a python script. With python you can do parametric modelling and it`s much easier than editing the blockMeshDict by hand. For 3D- boundary layer you can use salome (www.salome-platform.org)

greets,
...
New Member
Posted in Pre-processing
Views 1178 Comments 0 kindle is offline Edit Tags
Old

Initialize a random velocity field with funkySetFields

Posted November 14, 2016 at 13:31 by kindle
Updated February 23, 2017 at 04:05 by kindle

This is useful for me


Quote:
Originally Posted by Andrea1984 View Post
Hi,

I would like to inizialize a random velocity field with funkySetFields. Is it possible?

I've tried something like

{
field U;
expression "vector (0.005*rand(), 0.005*rand(), 0.005*rand())";
}

Do you think this should work?

Thanks in advance


Andrea
And this is link for swak
http://openfoamwiki.net/index.php/Contrib/swak4Foam/Example_initRandomVelocity...
New Member
Posted in Pre-processing
Views 1127 Comments 0 kindle is offline Edit Tags
Old

blockMesh non-uniform grid

Posted November 10, 2016 at 14:32 by kindle

This way we can estimate already order of magnitude.

Quote:
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 :-)

Hrv
New Member
Posted in Pre-processing
Views 1304 Comments 0 kindle is offline Edit Tags
Old

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

Quote:
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.)

Approach:
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 319 Comments 0 kindle is offline Edit Tags
Old

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
Quote:
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 306 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 22:56.