https://linen.dev logo
I'm testing this in my coded FO, ``` codeWrite ...
# programming
y
I'm testing this in my coded FO,
Copy code
codeWrite
        #{
            // Lookup U
            const volScalarField& c = mesh().lookupObject<volScalarField>("c");

            // Write
            1e-8*fvc::snGrad(c)().write();
        #};
It write a variable snGrad(c) in the timestep directories (which i fail to read in paraView, for some reasons) but when I try to use it in a surfaceFieldValue FO, I get this:
Copy code
Requested field snGrad(c) not found in database and not processed