View Issue Details

IDProjectCategoryView StatusLast Update
0004248OpenFOAMBugpublic2025-06-24 01:06
Reporterjianglan Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0004248: An error occurs when using the forceCoeffsCompressible function in the multiphaseEuler solver.
DescriptionAdd the forceCoeffsCompressible function at the end of the functions file in the hydrofoil case:
    #includeFunc forceCoeffsCompressible
    (
        patches=(hydrofoilUpper),
        //pName p,
        //UName U,
        magUInf=5.33,
        rhoInf=998,
        lRef=0.15,
        Aref=0.02865,
        CofR=(0 0 0),
        liftDir=(0 1 0),
        dragDir=(1 0 0),
        pitchAxis=(0 0 1)
    )

Error:
[7] --> FOAM FATAL ERROR:
[7] Could not find U, p
[7]
[7] From function void Foam::functionObjects::forcesBase::initialise()
[7] in file forcesBase/forcesBase.C at line 186.
[7]
FOAM parallel run exiting

The bubbleColumn case also has the same issue.
TagsNo tags attached.

Activities

henry

2025-06-23 16:19

manager   ~0013583

You haven't specified the phase -- user support request.

Issue History

Date Modified Username Field Change
2025-06-23 14:16 jianglan New Issue
2025-06-23 16:19 henry Assigned To => henry
2025-06-23 16:19 henry Status new => closed
2025-06-23 16:19 henry Resolution open => no change required
2025-06-23 16:19 henry Note Added: 0013583