|
[Sponsors] |
October 3, 2019, 03:20 |
|
#21 |
New Member
WANG LU
Join Date: Sep 2019
Posts: 22
Rep Power: 7 |
Dear AlexanderZ:
Console output as follows: Updating solution at time level N... done. iter continuity x-velocity y-velocity z-velocity vf-water time/iter
1 1.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 3.8788e-03 0:00:45 9 2 1.0000e+00 4.5167e-02 7.4416e-01 2.4226e-01 1.0804e-03 0:00:38 8 3 1.0000e+00 2.7874e-02 2.6185e-01 1.0960e-01 3.1149e-03 0:00:31 7 4 9.8051e-01 5.5450e-02 5.5873e-01 1.5383e-01 3.9285e-03 0:00:26 6 5 1.0000e+00 4.8524e-02 4.8789e-01 1.3678e-01 5.4849e-03 0:00:20 5 6 1.3205e+00 3.7078e-02 5.4189e-01 1.1639e-01 6.7667e-03 0:00:16 4 7 1.2897e+00 3.2591e-02 5.0410e-01 1.0736e-01 6.9604e-03 0:00:12 3 8 1.1638e+00 2.9217e-02 5.0415e-01 1.0183e-01 7.2842e-03 0:00:08 2 9 1.1714e+00 3.1417e-02 4.8439e-01 9.9816e-02 6.9659e-03 0:00:04 1 10 9.9349e-01 3.4590e-02 4.5671e-01 9.2042e-02 7.0298e-03 0:00:00 0 cx cy where calculated successfully Flow time = 0.01s, time step = 1 999 more time steps Thank you for your help. Best regards! Wang Lu |
|
October 15, 2019, 08:11 |
|
#22 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
change last lines to these and show your output once again
Code:
#if !RP_NODE fclose(fout1); fclose(fout2); #endif Message0("\n X-centroid of liquid = %g\n", cx); Message0("\n Y-centroid of liquid = %g\n", cy);
__________________
best regards ****************************** press LIKE if this message was helpful |
|
October 15, 2019, 22:29 |
|
#23 |
New Member
WANG LU
Join Date: Sep 2019
Posts: 22
Rep Power: 7 |
Dear AlexanderZ:
Thank you a lot for you constant help. I am so luky to get your help.I have compiled my code,and run my case. It got another error as ''Error at host: floating point exception '',do you know what's wrong? And,I can't open the website you said. Best wishes! WangLu |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |