|
[Sponsors] |
ddtSchemes, How Euler and CrankNicolson descritize? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2014, 06:12 |
ddtSchemes, How Euler and CrankNicolson descritize?
|
#1 |
Member
Join Date: Feb 2012
Posts: 49
Rep Power: 14 |
I want to solve( ddt(U) == F ) in which both U and F are volVectorField.
I get three different results when i use these three approaches! I expect that all of them should be same 1) forAll(U, cellI) U[cellI] += runTime.deltaTValue()*F[cellI]; 2) solve(fvm::ddt(U)==F); //Euler descritization 3) solve(fvm::ddt(U)==F); //CrankNicolson descritization Do you know why they don't give same result? Because i think all of them do this : ( Unew = Uold + F*dt) Last edited by ooo; February 10, 2014 at 11:39. |
|
|
|