|
[Sponsors] |
|
March 4, 2009, 10:59 |
Thanks Thomas. My e-mail:
ana
|
#1 |
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, 15:32 |
Hi,
The standard simpleFoam
|
#2 |
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, 16:05 |
Hi,
I upload my solver:
|
#3 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
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, 16:57 |
Hi Tian,
I was going throug
|
#4 |
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, 05:40 |
Hello again,
Thank you very
|
#5 |
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, 06:29 |
Hi Eduarda,
first use 'wcle
|
#6 |
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, 06:36 |
Thanks,
Now I have a new er
|
#7 |
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, 07:08 |
Hi Eduarda,
I think it tell
|
#8 |
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, 07:22 |
Thank you so much Kerstin.
|
#9 |
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, 07:25 |
Just to add that the options f
|
#10 |
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, 07:45 |
Hi Eduarda,
is in your '/ho
|
#11 |
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, 07:53 |
hello again Kerstion,
And t
|
#12 |
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, 08:30 |
Hi Eduarda,
I think I under
|
#13 |
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, 08:46 |
Hi Eduarda,
can you compile
|
#14 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
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. |
|
February 10, 2010, 21:57 |
|
#15 | |
New Member
Jonathas Assunção de Castro
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
Quote:
Could you send to me the following files, please? initConvergenceCheck.H convergenceCheck.H pEqn.H UEqn.H Tnahks |
||
April 11, 2010, 06:29 |
|
#16 |
New Member
Join Date: Feb 2010
Posts: 21
Rep Power: 16 |
Hello All,
I am trying to simulate an impingingjet using the simpleFoam in OF1.6.x. I am trying to follow the threads and tried different things. But I am still getting the same error. I am posting my error and attaching my initial bc. Your support will be greatly appreciated. Time = 759 DILUPBiCG: Solving for Ux, Initial residual = 0.364807, Final residual = 0.0331038, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 0.401396, Final residual = 0.0185339, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 0.439448, Final residual = 0.0046591, No Iterations 1 GAMG: Solving for p, Initial residual = 0.569614, Final residual = 0.00428777, No Iterations 66 time step continuity errors : sum local = 3.14096e+42, global = 3.09629e+39, cumulative = 6.80133e+40 DILUPBiCG: Solving for epsilon, Initial residual = 1.08298e-09, Final residual = 1.08298e-09, No Iterations 0 DILUPBiCG: Solving for k, Initial residual = 0.000115294, Final residual = 2.84805e-06, No Iterations 2 ExecutionTime = 47327.3 s ClockTime = 48069 s Time = 760 DILUPBiCG: Solving for Ux, Initial residual = 0.506818, Final residual = 0.00973123, No Iterations 2 DILUPBiCG: Solving for Uy, Initial residual = 0.603294, Final residual = 0.0122224, No Iterations 2 DILUPBiCG: Solving for Uz, Initial residual = 0.280386, Final residual = 0.00518198, No Iterations 2 GAMG: Solving for p, Initial residual = 0.0695246, Final residual = 0.000686704, No Iterations 30 time step continuity errors : sum local = 1.41992e+43, global = 4.71133e+41, cumulative = 5.39147e+41 DILUPBiCG: Solving for epsilon, Initial residual = 3.87187e-11, Final residual = 3.87187e-11, No Iterations 0 DILUPBiCG: Solving for k, Initial residual = 1, Final residual = 0.0894909, No Iterations 1 bounding k, min: -7.27376e+51 max: 5.05817e+89 average: 5.17561e+84 ExecutionTime = 47386.5 s ClockTime = 48159 s Time = 761 DILUPBiCG: Solving for Ux, Initial residual = 0.417362, Final residual = 0.0145424, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 0.51114, Final residual = 0.0224704, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 0.376437, Final residual = 0.0288099, No Iterations 1 GAMG: Solving for p, Initial residual = 0.629327, Final residual = 0.00528483, No Iterations 8 time step continuity errors : sum local = 1.11456e+78, global = 4.87405e+75, cumulative = 4.87405e+75 DILUPBiCG: Solving for epsilon, Initial residual = 4.23728e-09, Final residual = 4.23728e-09, No Iterations 0 #0 Foam::error:rintStack(Foam::Ostream&) in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigFpe::sigFpeHandler(int) in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so" #2 ?? in "/lib/libc.so.6" #3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so" #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libfiniteVolume.so" #5 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleRASModels.so" #6 Foam::incompressible::RASModels::kEpsilon::correct () in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libincompressibleRASModels.so" #7 main in "/home/jish/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/simpleFoam" #8 __libc_start_main in "/lib/libc.so.6" #9 _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:116 Floating point exception thanks regards jish |
|
March 5, 2009, 12:54 |
Hello Kerstin and Thomas,
T
|
#17 |
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 |
|
March 6, 2009, 03:05 |
Hi Vishal,
can you give me
|
#18 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17 |
Hi Vishal,
can you give me a hint where did you find in the OpenFOAM code T.relax()? Thanks Bye Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance. |
|
March 6, 2009, 07:28 |
Hello Thomas
it seems that
|
#19 |
Member
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17 |
Hello Thomas
it seems that I got here a little late, the link that you have posted has reached its limit, could you perhaps mail me the file? thanks leo |
|
March 6, 2009, 07:40 |
Hi,
try this one:
http:/
|
#20 |
Senior Member
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 119
Rep Power: 17 |
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time step size and max iterations per time step | pUl| | FLUENT | 33 | October 23, 2020 22:50 |
Time step continuity | anja | OpenFOAM Running, Solving & CFD | 37 | June 22, 2020 11:16 |
SELECTING TIME STEP SIZE, NUMBER OF TIME STEP | NITUL KALITA | FLUENT | 2 | November 22, 2012 08:28 |
Speedup with GAMG for simplefoam forward Step | tutlhino | OpenFOAM Running, Solving & CFD | 9 | June 24, 2007 21:44 |
Relation of computational time step with real time | Salman | Main CFD Forum | 2 | August 3, 2005 14:13 |