Skip to content
Discussion options

You must be logged in to vote

I found a workaround for this, OpenFOAM have setExprBoundaryFieldsDict which writes the values described by expression on certain patch, with this DAFoam can proceed further.

Initially I thought of modifying DAField.Cand got this working but not as expected but this setExprBoundaryFieldsDict is the best work around.

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      setExprBoundaryFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
readFields
(
    U
);

pattern
{
    field U;

    expressions
    (
        // inletLeft
        {
            patch   inletLeft;
            target  value;

            …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ananth-Narayan-IITM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Bug
Labels
None yet
1 participant