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

tmp - stands for 'true macro pain'?

Posted December 5, 2016 at 12:50 by kindle
Updated February 23, 2017 at 04:03 by kindle

use when ready

Quote:
Originally Posted by hjasak View Post
Well, put on your 1970-s hat (or a shirt with huge collars!) and let's talk about memory peaks. For simpleFoam, the memory peak is at the point of creation of the pressure equation, because, unlike PISO, I am allowed to delete the momentum matrix before the creation of the pressure matrix. Therefore, I make the momentum matrix a tmp and call UEqn.clear(); at an opportune place in the code and drop the peak memory requirement by one complete assymetric matrix!
...
New Member
Posted in programming
Views 156 Comments 0 kindle is offline Edit Tags
Old

"Residuals" in residualControl

Posted December 4, 2016 at 18:54 by kindle

PimpleFoam hahhahhhahha

Quote:
Originally Posted by knuckles View Post
In system/fvSolution, I can specify tolerances on matrix solvers:

Code:
solvers
{
    p
    {
        solver         PGC;
        preconditioner DIC;
        tolerance      1e-08;
        relTol         0;
    }
}
My understanding is that openfoam will construct an equation of the form Ax = b, solve it in some iterative way, and will stop iterating when the residual, |Ax
...
New Member
Posted in Solver
Views 41 Comments 0 kindle is offline Edit Tags
Old

PointwiseToFoam

Posted November 21, 2016 at 09:22 by kindle
Updated December 5, 2016 at 13:07 by kindle

In Pointwise : Database => connectors => domain => block

CAE : choose solver OpenFOAM

CAE : set Boundary Condition

Choose blocks and File -> export CAE

If the scale is not right :

transformPoints -scale '(0.001 0.001 0.001)' or -translate or -rotate
New Member
Posted in Pre-processing
Views 1164 Comments 0 kindle is offline Edit Tags
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 1138 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 1096 Comments 0 kindle is offline Edit Tags

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