CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Electromagnetic Solver for OpenFOAM (http://www.cfd-online.com/Forums/openfoam/68177-electromagnetic-solver-openfoam.html)

lkh September 9, 2009 06:51

Electromagnetic Solver for OpenFOAM
 
Hallo,

I plan to simulate electromagnetic wave propagation based on Maxwells equations. Can anybody tell me if there is a solver in OpenFOAM suitable for such problems?

Best regards
lkh

elvis September 16, 2009 13:57

maybe
Electromagnetics of an electric rod and surrounding air (By Margarita Sass-Tisovskaya) http://www.tfd.chalmers.se/~hani/kur.../rodSlides.pdf
http://www.tfd.chalmers.se/~hani/kur...08/rodFoam.tgz
http://www.tfd.chalmers.se/~hani/kur...odFoamCase.tgz
goes somehow in the direction you want to use OF for

elvis

krishnan_me March 30, 2016 21:52

Hi, I tried to run the rodFoam solver but ended up in the error as follows:
Create time

Create mesh for time = 0

Reading transportProperties

Reading field sigma

Reading field ElPot

Reading field A

Calculating magnetic field B

Calculate electrical 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::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 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
#11 ? at ??:?
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13 ? at ??:?
Floating point exception (core dumped)

Any help in this regard is much appreciated.


All times are GMT -4. The time now is 23:37.