CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   dnsFoam (http://www.cfd-online.com/Forums/openfoam/69111-dnsfoam.html)

feijooos October 12, 2009 11:58

dnsFoam
 
Hi All,

I was running the dnsFoam tutorial case on a 128^3 mesh and I am running into some issues.

I get the following error msg:

Time = 0.175

Number of forced K = 12
k(0.175) = 1.12316e+48
epsilon(0.175) = 2.81871e+49
U.f(0.175) = -1.60366e+22
#0 Foam::error::printStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/lib
OpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOA
M.so"
#2 ?? in "/lib64/libc.so.6"
#3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/usr/l
ocal/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::fvMatrix<Foam::Vector<double> >::solve(Foam::Istream&) in "/usr/local/OpenFOAM/OpenFOAM-1.5/ap
plications/bin/linux64GccDPOpt/dnsFoam"
#5 main in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/dnsFoam"
#6 __libc_start_main in "/lib64/libc.so.6"
#7 Foam::regIOobject::readIfModified() in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64Gcc
DPOpt/dnsFoam"


k and eps seem to go completely off the chart, do you have any idea what is going on?

Thanks!

cfdmarkus October 14, 2009 05:47

Hi

I also tested dnsFOAM a while and I had to reduce the time step for finer meshes!

I always thought that dnsFoam does not work in parallel. Do you run your 128^3 on a single processor?

I am very interested in your results, since I was never able to successfully use dnsFOAM. Are you getting a nice energy spectrum and do you know who to set the parameters for a certain Reynolds number?

Best regards
Markus

feijooos October 14, 2009 13:45

Hey Markus,

Yeah that makes sense, I'll reduce the time step.

I also found out that dnsFoam doesn't work in parallel. I submitted the 128^3 case to one processor. It is not ideal, but it seems to be working.

I just started looking at dnsFoam so I don't know anything about setting the Re #, but I'll share my results for E(k) when the case is finished.

Eelco

cfdmarkus January 11, 2010 06:30

Hi Eelco,

how are you getting on with dnsFoam, have you managed to get reasonable results?

I am still struggeling to get anything that looks like a energy spectrum !!

Regards
Markus

feijooos January 11, 2010 12:14

Hey Markus,

I am struggling to get anything remotely close to a reasonable energy spectrum as well.
The solver takes way too long to get a decent calculation done. Although it uses a spectral method, the fact that it cannot be used in parallel is not good. I am trying to figure out a way for it to work in parallel, but it's taking some time to understand the solver completely.

Regard, Eelco

cfdmarkus January 28, 2010 05:54

Hi Eelco,

I found a bug in dnsFOAM see here:
http://www.cfd-online.com/Forums/ope...g-dnsfoam.html

If you fix the bug you will get a nice energy spectra, providing the forcing parameters are set correctly.

Markus

feijooos January 28, 2010 12:24

Hey Markus,

Thanks for letting me know. I appreciate it.
I'll try to some cases with this modification.

Eelco


All times are GMT -4. The time now is 03:24.