Hi Christoph, I was able to use non isothermal condition with another example using TwoPNCNI model so I guess that the problem comes from the coupling part. I assume that indeed the temperature should be taken into at the coupling interface but I am not sure how to do that. Should I modify something in the couplingManager ? Thanks for your help,
————————————————————————————— Suzon Jammes Researcher & Consultant M&U sas, Geology by Research www.mandu-geology.fr [email protected] / +33(0)768692934  Ce message est confidentiel. Son contenu ne représente en aucun cas un engagement de la part de M&U SAS sous reserve de tout accord conclu par écrit avec la société. Toute publication, utilisation ou diffusion, meme partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur ou par email :[email protected]. This message is confidential. Its contents do not constitute a commitment by M&U SAS except where provided for in a written agreement with the company. Any unauthorised disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient, please notify the sender immediately or with the following email: [email protected] > On 30 Mar 2024, at 16:23, Christoph Grüninger <[email protected]> wrote: > > 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
_______________________________________________ DuMux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
