Dear Lorenzo Campoli,

if you want to use grid adaptation for the 1p2c model,
you have to implement your own *griddatatransfer* and *gridadaptindicator*
classes, so you have to implement the interfaces by yourself.

Best regards,
Martin

On 24.03.20 12:08, lk wrote:
Dear Dumux community,

I'd like to ask in the last Dumux version, is it possible to use grid adaptation for 1p, specifically, 1p2c model?

Moreover, if yes, is it possible for which kind of grid, both structured and unstructured?

I cannot find any example for 1pnc, maybe I can do something similar to what it is shown for 2p? But what about the following lines?

#include <dumux/porousmediumflow/2p/griddatatransfer.hh>
#include <dumux/porousmediumflow/2p/gridadaptindicator.hh>

TwoPGridAdaptIndicator<TypeTag> indicator(gridGeometry);
TwoPGridDataTransfer ...

I cannot find any interface for 1pnc models.


Thanks for your help,

Lorenzo Campoli




_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to