User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 17, 2011, 21:21 please help me to solve this problem #1 New Member   qi bin Join Date: Jan 2011 Posts: 5 Rep Power: 8 Sponsored Links hello, Foamers I am trying to modify the scalarTransportFoam solver TO solve these following equation. # include "readSIMPLEControls.H" volScalarField nu1=DO2*pow(DT*(1-S),Tor); volScalarField nu2=Kp*S*S*S/Nu*(-1*Sigma)*0.5*pow((DT/Kp),0.5)*(-4.24*S+3.789*S*S); volScalarField jc=(1-S)*Tcu*(T/CO2)*exp(-alpha*F*Eta/(R*T1)); for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) { solve ( //fvm::ddt(T) fvm::div(nu1,T) +(1/(4*F))*jc ); solve ( //fvm::ddt(S) fvm::laplacian(nu2,S) -(1/(2*F))*jc*M ); } } there is always problem. [COLOR="rgb(139, 0, 0)"] #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::diagonalPreconditioner::diagonalPrecondition er(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #4 Foam::lduMatrix:reconditioner::addsymMatrixConst ructorToTable::New(F oam::lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #5 Foam::lduMatrix:reconditioner::New(Foam::lduMatr ix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #6 Foam::PCG::solve(Foam::Field&, Foam::Field const&, unsigned char) const in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #7 Foam::fvMatrix::solve(Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libfiniteVolume.so" #8 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/myFoam" #9 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/myFoam" #10 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #11 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/myFoam" Floating point exception [/COLOR] please help me to solve this problem. very appreciated.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Andy Chen CFX 0 August 18, 2009 10:13 yongshenglian OpenFOAM Running, Solving & CFD 1 September 17, 2008 12:03 Bernie FLUENT 1 October 31, 2006 15:29 Peted CFX 2 May 31, 2004 23:45 cfxbeginer CFX 2 May 1, 2003 08:55