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

printStack(Foam::Ostream& ) with simpleFoam -parallel

Posted March 10, 2017 at 05:55 by kindle
Updated June 7, 2017 at 13:15 by kindle

debug version will give line numbers. Ok. May worth the cost.

Quote:
Originally Posted by gschaider View Post
A bit more information would be nice:
- does this problem also occur when you run the case in serial
- when does it happen (during the construction of the turbulence model, but I deduced that from your stack-trace)
- line numbers would be nice, but you'll need a Debug-version of OF for that

My guess is that this is (again) the old "I set k/epsilon/omega to 0 in the initial conditions (or
...
New Member
Views 1474 Comments 0 kindle is offline Edit Tags
Old

Floating point exception (resolved. problem in mesh quality)

Posted March 10, 2017 at 05:54 by kindle
Updated June 7, 2017 at 13:18 by kindle

Try to get this tracking process of problem

Quote:
Originally Posted by cristian.arbe View Post
Hello all,

I am relatively new to OpenFoam and I am trying to simulate a photoreactor on incompressible turbulent flow at steady-state. I copied most of the code of the pitzDaily model from the tutorials adjusting all the parametres for my case. When running the case in parallel I get the following error:

Code:
mpirun noticed that process rank 7 with PID 3333 on node XXXXX exited on signal 8 (Floating point exception).
Commands
...
New Member
Views 1570 Comments 0 kindle is offline Edit Tags
Old

access to data

Posted February 28, 2017 at 06:17 by kindle
Updated February 28, 2017 at 13:41 by kindle

// access to field<Type>

Ex: in /finiteVolume/fields/fvPatchField/derived/turbulentInlet.C.
This class is templated, here we take a example for vector field:

Code:
Field<vector> randomField(this->size());
to have access to x-component for example
Code:
Info << "randomField = " << randomField.component(vector::X) <<
    endl;
// vector::X=0 this enum equals to 0 as enum's
...
New Member
Posted in programming
Views 1128 Comments 0 kindle is offline Edit Tags
Old

typo error

Posted February 23, 2017 at 06:03 by kindle

Q : Get very nasty output in the log when running in parallel ?
A : may be forgot the "-parallel" flag on the command line.
E : In stead of
Code:
mpirun -np 16 icoFoam -parallel > log
you trust your memory and write
Code:
mpirun -np 16 icoFoam > log
Then you will directly get the time directories of the whole domaine and there will be no time directionary in processor*. And in log, it seems that multiple processes are writing at the same time....
New Member
Posted in Q&A
Views 1201 Comments 0 kindle is offline Edit Tags
Old

foam formation

Posted February 23, 2017 at 04:29 by kindle

When I heat the bowl to get warm milk, I got foam forming at the heating surface and the foam is staying at the inner surface after I drank all milk in it.
New Member
Posted in findings
Views 1165 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 00:08.