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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: henrik
Forum: OpenFOAM July 13, 2009, 16:05
Replies: 15
Views: 3,897
Posted By henrik
Dear Pascal, now I understand. Haven't...

Dear Pascal,

now I understand. Haven't looked at the source of the utilities for a while - so it didn't click.

Your problem is that the utility is actually a global function Foam::calc which...
Forum: OpenFOAM July 13, 2009, 14:36
Replies: 15
Views: 3,897
Posted By henrik
Dear Pascal, it's difficult to help because...

Dear Pascal,

it's difficult to help because you did not post the full source code including the time or pseudo time loop which reads the fields.

My feeling is that since, prev_pos keeps track...
Forum: OpenFOAM July 12, 2009, 13:03
Replies: 15
Views: 3,897
Posted By henrik
Dear Pascal, obviously there is an error in...

Dear Pascal,

obviously there is an error in the logic of your code. Just do what everybody has to do: Add Info statements, analyse where it goes wrong and fix it - This is too hard to do remotely....
Forum: OpenFOAM July 9, 2009, 18:59
Replies: 15
Views: 3,897
Posted By henrik
Dear Pascal, the biggest problem I can spot...

Dear Pascal,

the biggest problem I can spot is

runTime.timeName() == 0

First of all, have a look at $FOAM_SRC/OpenFOAM/lnInclude/Time.H

runTime.timeName() is a word!
Forum: OpenFOAM July 7, 2009, 08:45
Replies: 15
Views: 3,897
Posted By henrik
Dear Pascal, you cannot use field algebra to...

Dear Pascal,

you cannot use field algebra to determine the position where the maximum vorticity is. Try something like this:


scalar maxVorticity = -GREAT;
label maxCellI;
...
Forum: OpenFOAM July 6, 2009, 04:52
Replies: 15
Views: 3,897
Posted By henrik
Dear Pascal, My recipie: 1) Modify...

Dear Pascal,

My recipie:

1) Modify vorticity utility to report cell with maximum vorticity
2) Report position in real coordinates
3) Add code to solver
4) Write function object

Guess...
Showing results 1 to 6 of 6

 
Forum Jump

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