Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial. Here is what i get when I am trying to solve it in parallel: (FYI: Ubuntu 12.10, OF 2.1, simpleFoam) Quote:
|
Quote:
Looks like k is 0 somewhere. Check k and epsilon in the decomposed cases. See if the tutorial cases for simpleFoam fail in the same way. If they don't check what is different to your case That is all I can say about this |
Quote:
|
Quote:
right now I think you are right in someways. here are my K and epsilon boundary conditions: For Processor0: k Quote:
Quote:
k Quote:
Quote:
Quote:
controlDict Quote:
Quote:
Quote:
|
@Mojtaba: Unfortunately, this isn't enough information. Without knowing more about the complete information about the "k" and "epsilon" fields, it's almost impossible to diagnose what might be wrong.
In addition, it could be related to:
As for the following line: Code:
value nonuniform 0(); Best regards, Bruno |
Quote:
well I tried checkMesh utility before and I got no error. everything was fine. but while I was trying to solve the case, k & epsilon residuals had some strange behaviors. so I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem. anyway thanks, I didn't know about cyclic patches and 0 values in decomposed cases. Bests mojtaba |
2 Attachment(s)
Hi everybody,
I m having as it seems the same Probleme :(. I m using chtMultiRegionSimpleFoam in OP 2.2.0 to simulate a solid Region and a Fluid Region Tempratur Transfer. The Boundary Condition were taking from the OF example HeatTransfert and i did the same with the Files in system. I m using Salome to create my mesh after that i use mappedWall in Boundary to connect the Region. Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" Please!! Please!! take a look at them and if you have any idea what so ever that can help me understand the reason then please shared with me. In working a Project and i don t have any support from my Team. This is my only option for me to get same Tipps and Help. Thank you!! best Regards |
Problem in parallel running..
Hello everyone,
I implemented multiregion solver with new boundary condition.. But, I have problems solving my case in parallel. my case doesn't have any problems solving in serial. Here is what I got when I was trying to solve in parallel... Code:
[6] #0 Foam::error::printStack(Foam::Ostream&)[5] #0 Foam::error::printStack(Foam::Ostream&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so" Kind Regards |
Greetings to all!
mbay101's problem is being addressed here: http://www.cfd-online.com/Forums/ope...egionfoam.html @alvora: You're not providing enough information to work with. It could be due to bad schemes, bad mesh, bad decomposition, bad boundary conditions... Please provide more information about your case, as explained here: How to give enough info to get help Best regards, Bruno |
Quote:
Similar problem happens in my case (ubuntu 12.04, OF 230, pimpleDyMFoam/propeller). It also solved my problem! Thank you so much! |
The costume code works in serial mode but not in parallel
1 Attachment(s)
Hi everyone,
I am experiencing the same bug which was discussed earlier here but I could not manage to overcome the floating bus in parallel. In fact, I have recently developed my solver (Add a class to original twoPhaseEulerFoam (populationBalance class) in OF 2.3.0). My solver works in serial mode properly but when I want to use that with mpirun or mpiexec it is crashed. Any idea or comments for debugging, even short ones will be pretty much useful and appreciated. Thanks in advance. P.S: This is short version of log file (complete one is attached): Code:
[10] in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam" |
Foam::error::printStack(Foam::Ostream&) at ??:?
HI all,
I think my post best fits here. I am getting the same error as above posts. My solver is compiling with no error but when i am solving my case with the solver this error comes.. #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:? #4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? #6 ? at ??:? #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 ? at ??:? Floating point exception (core dumped) THe equation that i am solving is solve ( fvm::ddt(C) + (1/por)*fvm::div(phi, C) - fvm::laplacian(D, C) + fvm::Sp((1/por)*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)), C) + fvm::Sp((lfc/por)*(p-lp), C) + fvm::Sp((krel/por), C) == (((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))*Cp) + (Cp*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1))) ); I know that sigFpe error comes because of 0/0 form but i have checked all my variables. I am not able to find error. Any help will be appreciated. Any further information needed kindly tell. Regards Ajay |
Hi AJAY,
Do you have same error in serial mode or just in parallel mode? Quote:
|
Thanks ehsan for your quick reply. But i was able to solve it today.
Actually in my code the variable orl value was wrongly input by me as 1 which made the denominator term zero. thats why sigFpe error was coming. But i corrected it and solver ran successfully. But thanks for your reply... |
You are welcome,
So it means that your code was in serial mode? I asked if it is in serial or parallel mode because I have the same bug as u had. But the strange thing for this is the fact that, my costume solver works properly in serial mode but it does not work in parallel mode (please see my last post above) and after few iterations it is stopped. Quote:
|
The costume code works in serial mode but not in parallel
2 Attachment(s)
"The costume code works in serial mode but not in parallel"
I'm having the same problem to run problems in parallel. Would anyone know the source of this error ?! Error: Code:
/*---------------------------------------------------------------------------*\ |
Quick answer: My guess is that the "probes" entry in "controlDict" has positions in the wrong places. Notice that checkMesh has reported that the overall domain has around 6 mm of length in each direction.
|
Help please
Hello!
I am trying to run my code and this is the error coming: 0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::DICPreconditioner::calcReciprocalD(Foam::Fie ld<double>&, Foam::lduMatrix const&) at ??:? #4 Foam::DICPreconditioner::DICPreconditioner(Foam::l duMatrix::solver const&, Foam::dictionary const&) at ??:? #5 Foam::lduMatrix::preconditioner::addsymMatrixConst ructorToTable<Foam::DICPreconditioner>::New(Foam:: lduMatrix::solver const&, Foam::dictionary const&) at ??:? #6 Foam::lduMatrix::preconditioner::New(Foam::lduMatr ix::solver const&, Foam::dictionary const&) at ??:? #7 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #8 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:? #9 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:? #10 ? at ??:? #11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #12 ? at ??:? Floating point exception can you please guide me if i send you my code? |
Hallo,
I am doing simulation in openfoam as xifoam solver. I got the same error, how I clear this error. Thanks and expecting your favourable reply. Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:? #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? <double>&, Foam::UList<double> const&) at ??:? bash: syntax error near unexpected token `Foam::Field' [1]+ Floating point exception(core dumped) XiFoam > Result |
Hi mahendra,
As you can see in first line terminal is showing sigFpe error. This type of error comes when openFOAM is encountring 0/0 form somewhere in the calculations. You need to check your variable values which you might have created in the createfields.H file. (Check there values in 0 folder). Also, this type of error can also come when your boundary conditions are not correct. So check your BC as well on the patches. Best Ajay |
All times are GMT -4. The time now is 20:11. |