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

debug Openfoam using other tools

Posted December 9, 2016 at 04:51 by kindle
Updated February 23, 2017 at 04:04 by kindle

Waaaaaaaaa

Quote:
Originally Posted by wyldckat View Post
Greetings Danath,

Well, since you're building your own code, I suggest that you study this wiki page: http://openfoamwiki.net/index.php/HowTo_debugging

As for the output you're getting:
  1. Line #1 is telling you that a SIGFPE has been triggered: http://en.wikipedia.org/wiki/SIGFPE#SIGFPE
  2. Line #3 is telling you more or less where the problem occurred.
Best regards,
Bruno
New Member
Posted in other tools
Views 999 Comments 0 kindle is offline Edit Tags
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 862 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 855 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 2043 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 2176 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 12:25.