CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

cracyFoam ???

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 21, 2010, 09:18
Default cracyFoam ???
  #1
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 7
heavy_user is on a distinguished road
Hi All,

i am experiencing some spooky things here...

I am running a case with reactingFoam.
It is running fine, results seem to look nice...so far..

BUT: i can check flowtime in the log, he is writing save files as he is supposed to...Adictionally he is writing files from a flowtime which is not yet reached and which dont match the specified write intervall at all!
(I attached a picture; the picture was taken when log said he is at flowtime 0.0028 sec)

does anyone know Why?
Dont want to have to delete and sort out all the rubish being written ...

regards


here the control dict:

{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


application reactingFoam;

startFrom startTime;

startTime 0;

stopAt endTime;

endTime 10;

deltaT 0.000001;

writeControl timeStep;

writeInterval 100;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression uncompressed;

timeFormat general;

timePrecision 6;

runTimeModifiable no;

adjustTimeStep no;

maxCo 0.5;
Attached Images
File Type: jpg cracyFoam.jpg (51.5 KB, 18 views)
heavy_user is offline   Reply With Quote

Old   January 21, 2010, 10:28
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by heavy_user View Post
Hi All,

i am experiencing some spooky things here...

I am running a case with reactingFoam.
It is running fine, results seem to look nice...so far..

BUT: i can check flowtime in the log, he is writing save files as he is supposed to...Adictionally he is writing files from a flowtime which is not yet reached and which dont match the specified write intervall at all!
(I attached a picture; the picture was taken when log said he is at flowtime 0.0028 sec)
VERY WILD GUESS: did you start a "parallel" run without the -parallel-option? That would start N _serial_ processes (all of them calculating the same thing). If one is faster than the one that writes the log it might look like there are time-directories from the future. But this still wouldn't explain the odd intervalls
gschaider is offline   Reply With Quote

Old   January 21, 2010, 11:31
Default
  #3
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 7
heavy_user is on a distinguished road
HI Bernhard,

thx for the answer!

I did start the run with "reactingFoam > log ".
I did NOT split the domain for several processors.
I have no file (as far as i know) which tells reactingFoam to go parallel...
CPU usage is 48% = 1 Processor being bussy(dualcore)..

...perhaps from a parallel universe ?? to bring a VeRyWiLdGuEsS on :-P ...

regards!

P.S.: would you mind taking a look at my post from the 20.01.2010 at 13.24 in "specifying nonuniform boundary conditions" ??
i am absolutely stuck here... and thx again, i think i might owe you a beer(or two) by now...
heavy_user is offline   Reply With Quote

Old   January 21, 2010, 13:19
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by heavy_user View Post
I did start the run with "reactingFoam > log ".
I did NOT split the domain for several processors.
I have no file (as far as i know) which tells reactingFoam to go parallel...
CPU usage is 48% = 1 Processor being bussy(dualcore)..
Only a guess, as I said. No idea where that kind of behaviour can come from
Quote:
Originally Posted by heavy_user View Post
...perhaps from a parallel universe ?? to bring a VeRyWiLdGuEsS on :-P ...
Your guess is better

Quote:
Originally Posted by heavy_user View Post
P.S.: would you mind taking a look at my post from the 20.01.2010 at 13.24 in "specifying nonuniform boundary conditions" ??
I knew it was a mistake to answer in this thread

I think I skipped that one, as I find it very hard to read unformatted C++-sources (see Mark's remark on the importance of the CODE-tag elsewhere on the forum - today or yesterday)

No idea. Where do the graphs come from? sample?
Quote:
Originally Posted by heavy_user View Post
i am absolutely stuck here... and thx again, i think i might owe you a beer(or two) by now...
The rumors that I drink that stuff are without any foundation
gschaider is offline   Reply With Quote

Old   January 21, 2010, 13:55
Default
  #5
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 7
heavy_user is on a distinguished road
Hi Bernhard,

the dimension-leak seems to have shut...I did not change anything (just restartet it, since it crashe due to a bug making T run out of boundaries) ...and it stopped writing that stuff ...



Quote:
Originally Posted by gschaider View Post
I knew it was a mistake to answer in this thread
...too late ...

Quote:
Originally Posted by gschaider View Post

I think I skipped that one, as I find it very hard to read unformatted C++-sources (see Mark's remark on the importance of the CODE-tag elsewhere on the forum - today or yesterday)
very sorry for that one, I sticked to code-convention, writing it in texteditor...but when i copy pasted, it messed up...
Whats mark's username, can neither find "mark" nor a thread called "code-tag" and browsing the posts of today and yesterday did not work out either (my eyes are tooo tired from reading error messages ALL day, i guess...)

the file basically says (or should say) something like:

internalFiled.y < value -> CH4 =1;
elsewhere CH4 = 0 ;
but I end up with a z-dependece of the distibution ...

I changed the post and added the original file - if you would mind to take a look...




Quote:
Originally Posted by gschaider View Post

No idea. Where do the graphs come from? sample?
I did the graphes with "sample" since i discovered the mess in paraFiew and i wanted to check on it...

Quote:
Originally Posted by gschaider View Post
The rumors that I drink that stuff are without any foundation
i dont drink it either, but some kind of goblin drops his empty bottles in my room at night .. or the dimension-crack is hounting me...

Give me your adress and I will send you a bottle of milk, if you prefere that ..

regards!
heavy_user is offline   Reply With Quote

Old   January 21, 2010, 14:22
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by heavy_user View Post
very sorry for that one, I sticked to code-convention, writing it in texteditor...but when i copy pasted, it messed up...
Whats mark's username, can neither find "mark" nor a thread called "code-tag" and browsing the posts of today and yesterday did not work out either (my eyes are tooo tired from reading error messages ALL day, i guess...)
Copy pasting is OK. What he said in the post was that people should first click on the #-Icon and past beween the CODE-tags. That way the Board won't try to reformat (BTW: olesen is the username)
Quote:
Originally Posted by heavy_user View Post
the file basically says (or should say) something like:

internalFiled.y < value -> CH4 =1;
elsewhere CH4 = 0 ;
but I end up with a z-dependece of the distibution ...
How is the patch aligned?
Quote:
Originally Posted by heavy_user View Post
I changed the post and added the original file - if you would mind to take a look...
I think this should be discussed in that thread
Quote:
Originally Posted by heavy_user View Post
I did the graphes with "sample" since i discovered the mess in paraFiew and i wanted to check on it...
Make sure that what you get is only the fdace-values and not something interpolated

Bernhard
gschaider is offline   Reply With Quote

Old   January 22, 2010, 12:12
Default
  #7
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 7
heavy_user is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Copy pasting is OK. What he said in the post was that people should first click on the #-Icon and past beween the CODE-tags. That way the Board won't try to reformat (BTW: olesen is the username)

How is the patch aligned?
hi Bernhard,
I updated the post, I hope you like it now...and you have all the information you need!


Quote:
Originally Posted by gschaider View Post

I think this should be discussed in that thread
Bernhard
We will

Quote:
Originally Posted by gschaider View Post
Make sure that what you get is only the fdace-values and not something interpolated

Bernhard
Even if it interpolates, the distribution should be independent of z.
The values between 0 and 1, which should not be there acording to file 0/CH4, could be due to interpolation if they were only in areas somewhere between areas with value 1 and areas with value 0...but they are not...there are no areas with 1 if i check with sample or paraFoam, eventhough the file 0/CH4 has ONLY entrys with 0 and 1..
Adictionaly I checked with paraFoam, and when I do "wireframe" he should not be interpolating(?) ...and there is no value 1 at all, he seems to cut down my peak value !
...so i am totaly confused...

have a nice weekend!

regards!
heavy_user is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:02.