|
[Sponsors] |
March 3, 2009, 13:53 |
Your run is converged. The cum
|
#21 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Your run is converged. The cumulative error is just that, the sum of all errors over previous iterations. For a steady state run, you don't have to worry about it. As long as the local and global errors are small, you will be fine.
|
|
March 3, 2009, 14:28 |
Hello Eugene,
Thanks for yo
|
#22 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Hello Eugene,
Thanks for your reply. ok I understand that I shouldn't consider the cumulative error. But is there anyway to automatically ignore this sum and only consider that the convergence is dependent on the residuals for U and p? I would like that the run would precisely stop at the moment in which the residual are bellow the limit so I could get information about the number of iterations needed, and ClockTime. Thanks again, Eduarda |
|
March 4, 2009, 05:37 |
Good morning,
Can someone g
|
#23 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Good morning,
Can someone give me a suggestion on how to overcome the problem posted previously by me? Thank you very much for your time. Eduarda |
|
March 4, 2009, 06:25 |
Hi,
there was a good exampl
|
#24 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17 |
Hi,
there was a good example for convergence dependet on the residuals for U, p and T in the forum but you need to change the main code of simpleFoam. Search for "BoussinesqBuoyantSimpleFoam": http://openfoamwiki.net/index.php/Co...yantSimpleFoam The excample used the file "fvSolution" for convergence: SIMPLE { nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; UConvergenceCriterion 1e-3; pConvergenceCriterion 1e-2; TConvergenceCriterion 1e-3; } You need to include 2 files in the main code: "convergenceCheck.H" and "initConvergenceCheck.H". I do not know how to attach the files here. So if you need help give me your email... Bye Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance. |
|
March 4, 2009, 11:24 |
Dear thomas,
I am also
|
#25 |
Member
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17 |
Dear thomas,
I am also interest in those files, could you perhaps send them to me at lhcamilo@gmail.com . At your discretion you might want to consider posting them on a file hosting website such as rapidshare. anyway thanks in a advance leo |
|
March 4, 2009, 11:59 |
Thanks Thomas. My e-mail:
ana
|
#26 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Thanks Thomas. My e-mail:
anaeduardasilva@gmail.com Can you please tell me what changes do I need to make in the main code of simpleFoam? Eduarda |
|
March 4, 2009, 16:32 |
Hi,
The standard simpleFoam
|
#27 |
Senior Member
|
Hi,
The standard simpleFoam solver already includes the files mentioned by Tian (lines 57 and 75 of simpleFoam.C). Regards, Jose Santos |
|
March 4, 2009, 17:05 |
Hi,
I upload my solver:
|
#28 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17 |
Hi,
I upload my solver: http://rapidshare.com/files/20536685...eFoam.tar.html in fvSolution you can use: SIMPLE { nNonOrthogonalCorrectors 0; UConvergenceCriterion 1e-2; pConvergenceCriterion 1e-1; } Jose, that is true but I made some modifications. Bye Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance. |
|
March 4, 2009, 17:57 |
Hi Tian,
I was going throug
|
#29 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 |
Hi Tian,
I was going through the code in this site http://openfoamwiki.net/index.php/Co...yantSimpleFoam I would like to know what is the exact difference between TEqn().relax(); and T.relax(); I know former is Implicit relaxing the matrix.. But how exactly this is being done in OpenFOAM and the latter is explicit form relaxing the solution using previous iteration value... I would like to know which of the two we should usually choose ...what is the advantages of the respective relaxation techniques... Kindly throw some light on this... Thanks Regards Vishal |
|
March 5, 2009, 06:40 |
Hello again,
Thank you very
|
#30 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Hello again,
Thank you very much Thomas. I was trying to compile the solver you sent using wmake nut I got an error saying. make: *** No rule to make target `/home/USER/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/dimensionedDiagTensor.H ', needed by `simpleConvergenceFoam.dep'. Any suggestion? Thanks again. Eduarda |
|
March 5, 2009, 07:29 |
Hi Eduarda,
first use 'wcle
|
#31 |
New Member
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hi Eduarda,
first use 'wclean' and then try again compiling the solver by 'wmake'. Maybe that helps. Kerstin |
|
March 5, 2009, 07:36 |
Thanks,
Now I have a new er
|
#32 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Thanks,
Now I have a new error coming. -lincompressibleRASModels -lincompressibleTransportModels -lfiniteVolume -lmeshTools -llduSolvers -lOpenFOAM -ldl -lm -o /home/eduarda/OpenFOAM/USER-1.5/applications/bin/linuxGccDPOpt/simpleConvergence Foam /usr/bin/ld: cannot find -llduSolvers collect2: ld returned 1 exit status make: *** [/home/eduarda/OpenFOAM/USER/applications/bin/linuxGccDPOpt/simpleConvergenceFoa m] Error 1 Any help? |
|
March 5, 2009, 08:08 |
Hi Eduarda,
I think it tell
|
#33 |
New Member
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hi Eduarda,
I think it tells you that your lduSolver-library is missing or can't be found. Another possibility might be that in 'Make/options' there is a wrong source given, i.e. have a look at your file 'options' under 'EXE_INC'. There you should find '-I$(LIB_SRC)/lduSolvers'. Is it there? And under 'EXE_LIBS' you should find '-llduSolvers'. Kerstin |
|
March 5, 2009, 08:22 |
Thank you so much Kerstin.
|
#34 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Thank you so much Kerstin.
The file "options" looks like: EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/turbulenceModels/RAS \ -I$(LIB_SRC)/transportModels EXE_LIBS = \ -lincompressibleRASModels \ -lincompressibleTransportModels \ -lfiniteVolume \ -lmeshTools \ -llduSolvers \ /* $(LIB_WM_OPTIONS_DIR)/libfbsdmalloc.o */ |
|
March 5, 2009, 08:25 |
Just to add that the options f
|
#35 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Just to add that the options file is exactly the same as in simpleFoam.
Thanks. |
|
March 5, 2009, 08:45 |
Hi Eduarda,
is in your '/ho
|
#36 |
New Member
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hi Eduarda,
is in your '/home/eduarda/OpenFOAM/USER-1.5/lib/linux**GccDPOpt/' directory a file available with name 'liblduSolvers.so'? If not it's missing, if yes, I have no other idea which problem it could be. Kerstin |
|
March 5, 2009, 08:53 |
hello again Kerstion,
And t
|
#37 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
hello again Kerstion,
And thanks. The directory '~/OpenFOAM/USER-1.5/lib/linuxGccDPOpt$' is empty. The directory '~/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt' doesn't include that file either. How can I get the file? Eduarda |
|
March 5, 2009, 09:30 |
Hi Eduarda,
I think I under
|
#38 |
New Member
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hi Eduarda,
I think I understand now the problem. I'm working under OF 1.4.1 and there this library exists. In OF 1.5 this library doesn't exist anymore. The solver you've got is possibly written in another version. I think that's the reason why you can't compile it without some modifications. I'm sorry I can't help you really. Kerstin Kerstin |
|
March 5, 2009, 09:46 |
Hi Eduarda,
can you compile
|
#39 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17 |
Hi Eduarda,
can you compile the original simpleFoam solver without trouble? If yes, you can replace four files from the simpleConvergenceFoam to the original folder (make a copy before): initConvergenceCheck.H convergenceCheck.H pEqn.H UEqn.H Bye Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance. |
|
March 5, 2009, 13:54 |
Hello Kerstin and Thomas,
T
|
#40 |
New Member
Ana Eduarda Sa Silva
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
Hello Kerstin and Thomas,
Thank you very much for your help! It is working perfectly now. Eduarda |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time step size and max iterations per time step | pUl| | FLUENT | 31 | October 23, 2020 23:50 |
Time step continuity | anja | OpenFOAM Running, Solving & CFD | 37 | June 22, 2020 12:16 |
SELECTING TIME STEP SIZE, NUMBER OF TIME STEP | NITUL KALITA | FLUENT | 2 | November 22, 2012 09:28 |
Speedup with GAMG for simplefoam forward Step | tutlhino | OpenFOAM Running, Solving & CFD | 9 | June 24, 2007 22:44 |
Relation of computational time step with real time | Salman | Main CFD Forum | 2 | August 3, 2005 15:13 |