CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Electromagnetic problems (https://www.cfd-online.com/Forums/openfoam-solving/169116-electromagnetic-problems.html)

krishnan_me April 3, 2016 21:26

Electromagnetic problems
 
Hi there, I tried in creating new solver for my application. In this regard, I tried to create a solver for electromagnetic problems based on instructions from Electromagnetics of an electric rod and surrounding air (By Margarita Sass-Tisovskaya) http://www.tfd.chalmers.se/~hani/kur.../rodSlides.pdf. I compiled it successfully but when I tried to run my case but I ended up with the following errors:
Create time

Create mesh for time = 0

Reading physicalProperties

Reading field sigma

Reading field A

Calculating magnetic field B

Calculating current density Je

#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::DICSmoother::DICSmoother(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&) at ??:?
#5 Foam::lduMatrix::smoother::addsymMatrixConstructor ToTable<Foam::DICSmoother>::New(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&) at ??:?
#6 Foam::lduMatrix::smoother::New(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::dictionary const&) at ??:?
#7 Foam::GAMGSolver::initVcycle(Foam::PtrList<Foam::F ield<double> >&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::lduMatrix::smoother>&, Foam::Field<double>&, Foam::Field<double>&) const at ??:?
#8 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#9 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#10 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#11 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
#12 ? at ??:?
#13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#14 ? at ??:?
Floating point exception (core dumped)

I tried to run their case as well but it gave me errors as well. Any help in this issue is much appreciated. Thanks.

krishnan_me April 4, 2016 00:11

Solved, Thanks.

BoatsNJos May 27, 2017 12:01

Hi there,

What was your solution to this? I am doing a similar thing and getting the exact same error and cannot solve it.

Thanks,
Joanne


All times are GMT -4. The time now is 16:41.