Hi Suzon,
adding nonisothermal effects makes the system more non-linear. Hence,
the Newton solver has a harder time to find a solution.
You can try to:
- Allow more Newton steps
- Reduce the time step size, limit its growth, or just use super tiny steps.
- Reduce the temperature difference, maybe fix the temperature with a
Dirichlet value everywhere to a single value and use the same value as
the initial value for the temperature
If you are lucky, this helps to get the simulation running for a couple
of steps and you can maybe identify areas of nonphysical behavior -
caused by a bug in your code.
Bye
Christoph
Am 23.04.24 um 12:43 schrieb Suzon Jammes:
Hi all,
I was able to include nonisothermal effects in the fractures setup but I
am now stuck trying to use the TwoPNCNI or TwoPNC models instead of the
TwoPmodel. The code compile but the Newton solver doesn't converge and
the run stop.
I tried to modify the boundary condition in implementing some injection
as in the basic exercise but I get the same problem.
What else do I need to modify to use several components in this setup ?
Thank you for your help,
Suzon
On 20/03/2024 13:33, Martin Schneider wrote:
Dear Suzon,
did you change the the model in properties.hh?
If you want to include nonisothermal effects you have to use the
TwoPNI model instead of the TwoP model.
Best,
Martin
On 19.03.24 17:36, Suzon Jammes wrote:
Dear users,
To learn how to use dumux I am trying to modify a bit the exercise
about fractures
(https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/-/blob/master/exercises/exercise-fractures). Today I wanted to make it nonisothermal as explained in exercice-basic but I am getting the following error :
error: ‘temperatureIdx’ is not a member of
‘Dumux::MatrixSubProblem<Dumux::Properties::TTag::MatrixProblem>::Indices’ {aka ‘Dumux::TwoPIndices’}
Is there anybody who knows how to solve this error ?
Thank you for your help,
Suzon
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
L'enjeu est de bâtir la France de nos enfants,
pas de ressasser la France de notre enfance.
[Emmanuel Macron, 2022]
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux