|
[Sponsors] |
November 2, 2017, 12:42 |
solving explicitly in time in openfoam
|
#1 |
New Member
Join Date: Apr 2011
Posts: 13
Rep Power: 15 |
Hello Foamers,
I have found that the solvers in openFoam solve using an implicit formulation, something along the lines of, Code:
fvScalarMatrix Eqn_1 //original ( fvm::ddt(kappa, A_1) == fvm::laplacian(gamma, A_1) ); Eqn_1.solve(); Does anyone have an example of this? i.e. Code:
Solve( fvc::ddt(kappa, A_1) == fvc::laplacian(gamma,A_1)); Any help would be appreciated, thank you for your time. |
|
November 2, 2017, 17:38 |
|
#2 |
New Member
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12 |
Hi
If you use Code:
Solve( fvm::ddt(kappa, A_1) == fvc::laplacian(gamma,A_1)); Best Moritz |
|
November 3, 2017, 10:35 |
|
#3 |
New Member
Join Date: Apr 2011
Posts: 13
Rep Power: 15 |
Thanks for the help, though I had a typo before, and had to use a lower case,
Code:
solve(...); Code:
fvScalarMatrix Eqn_1 ( fvm::ddt(kappa, A_1) == fvc::laplacian(gamma, A_1) ); Eqn_1.solve(); |
|
November 3, 2017, 11:45 |
|
#4 |
New Member
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12 |
Yes. There is no difference regarding explicit or implicit time stepping between these two formulations. You can also look at 2.5.1 Treatment of temporal discretization in OpenFOAM (programmers guide).
Best Moritz |
|
Tags |
explicit, fvc::ddt(), fvm::ddt(), implict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maximum number of iterations exceeded chtmultiregionsimpleFoam | Moncef | OpenFOAM Running, Solving & CFD | 28 | July 13, 2020 15:26 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |