Info<< "Reading physicalProperties\n" << endl; IOdictionary physicalProperties ( IOobject ( "physicalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); dimensionedScalar epsilon0 ( physicalProperties.lookup("epsilon0") ); /* dimensionedScalar k ( physicalProperties.lookup("k") ); */ Info<< "Reading field Phi\n" << endl; volScalarField Phi ( IOobject ( "Phi", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading field rhoc\n" << endl; volScalarField rhoc ( IOobject ( "rhoc", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Creating field electric field\n" << endl; volVectorField E ( IOobject ( "E", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), -fvc::grad(Phi) ); surfaceScalarField snE ( IOobject ( "snE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), -fvc::snGrad(Phi) );