|
[Sponsors] |
September 16, 2016, 09:37 |
Solving PDE for a fictious time
|
#1 |
New Member
Abdallah Salem
Join Date: Sep 2016
Posts: 3
Rep Power: 9 |
Hello dears
I have to solve a simple a PDE for an artificial time not physical time. ddt(psi) + grad(psi) = signPsi where signPsi is just the sign of psi My attempt to do so is creating new time instant runTime1 which has the same value of runTime . when I reached the equation I did runTime.setDeltaT(0) ; fvMatrix psiEq(fvm::ddt(psi) + fvc::grad(psi) == signPsi ) ; psiEq.solve() ; Then I synthesized runTime with the phyiscal runTime1 Foam::Time& runTime(runTime1) ; runTime.setDeltaT(runTime1.deltaTValue()) ; but I got error message after few iterations #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::Time::adjustDeltaT() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 at ~/OpenFOAM/abdo-2.3.0/application/solvers/multiphase/sclsvof10/solveLSE.H:32 #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 in "/home/abdo/OpenFOAM/abdo-2.3.0/platforms/linux64GccDPOpt/bin/scLsVof10" Any one has an idea to solve such a problem, I would be so thankful. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 02:20 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 18:17 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 12:50 |