https://linen.dev logo
The dirty way I solved this as my custom solver ha...
# programming
f
The dirty way I solved this as my custom solver has some internal issue I am not profound enough to solver was to create a field that was a copy of the initial field without any of the adressing, so only BC + internal field is copied. Using a of the field also resulted in the same issue. Coding wise it is the following:
Copy code
volScalarField tempV0Re
        (
            IOobject
            (
                V0Re.name() + "_dbgTemp",
                V0Re.time().timeName(),
                V0Re.db(),
                IOobject::NO_READ,
                IOobject::NO_WRITE
            ),
            V0Re // copy contents + BCs
        );
        globalMesh[COIL].schemesDict().setFluxRequired(V0Re.name() + "_dbgTemp");
which is a bit nasty, and not user friendly but o well.