Hi Suzon,
I did not look into the code, so I might guess wrong.
I suspect that by adding temperature, you got a third primary variable.
The error points out that you are using a vector with two entries
(representing two primary variables) at a place where you should use a
vector with three entries (for all three primary vars).
I hope this helps you figuring out what went wrong.
Bye
Christoph
Am 29.03.24 um 11:14 schrieb Suzon Jammes:
Hi all,
I am now working from the coupled exercise
(exercises/exercise-coupling-ff-pm/models) with a 2pnc model. I wanted
to make it non-isothermal so I change TwoPNC by TwoPNCNI and
NavierStockesNC by NavierStockesNCNI in the properties file but I get
the following error :
error: conversion from ‘FieldVector<[...],2>’ to non-scalar type
‘FieldVector<[...],3>’ requested
263 | elemVolVars[scvf.insideScvIdx()].extrusionFactor() *
FluidSystem::molarMass(1) * -1.0 * 86400.0;
I don't understand what does it mean. Does anybody know how to fix this
problem ?
Thank you
Suzon Jammes
_______________________________________________
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