Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in creating fields Phia and Phib in CPLCFDDEMFoam and CPLSediFOAM #9

Open
gunjansauti opened this issue Jul 16, 2024 · 0 comments

Comments

@gunjansauti
Copy link

Phia and Phib are defined as`nfo<< "Calculating face flux field phib\n" << endl;

    wordList phiTypes
    (
        Ub.boundaryField().size(),
        calculatedFvPatchScalarField::typeName
    );

    for (label i = 0; i < Ub.boundaryField().size(); i++)
    {
        if (isType<fixedValueFvPatchVectorField>(Ub.boundaryField()[i]))
        {
            phiTypes[i] = fixedValueFvPatchScalarField::typeName;
        }
    }

    phibPtr = new surfaceScalarField
    (
        IOobject
        (
            "phib",
            runTime.timeName(),
            mesh,
            IOobject::NO_READ,
            IOobject::NO_WRITE
        ),
        fvc::interpolate(Ub) & mesh.Sf(),
        phiTypes
    );`

Now, even if I add the CPLReceiveMD patch in this Ua and Ub directory, since it's not included in the boundary dict, while decomposing the case, it is not found in the 0 dict of the processors which finally gives an error : "Could not find patch ID "CPLReceiveMD". Aborting."
How to add the CPLReceiveMD patch in the boundary directory? And which boundaries does it apply to while running a coupled simulation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant