View Issue Details

IDProjectCategoryView StatusLast Update
0004249OpenFOAMBugpublic2025-06-24 08:49
Reporterjianglan Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version12 
Summary0004249: Error in configuring the forceCoeffsCompressible function in the multiphaseEuler solver
DescriptionI'm sorry to bother you again, but I've tried multiple times and still can't succeed in the calculation.
Before, I mentioned an error in the hydrofoil case:
Could not find U, p

And I have added the definition regarding phase:
    #includeFunc forceCoeffsCompressible
    (
        phase=liquid,
        patches=(hydrofoilUpper),
        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)
    )

And report an error:
Could not find U.liquid, p.liquid

In my view, there should be no error when the phase is not defined, because there are U and p files in the 0 folder. When phase=liquid is defined, it should report an error "Could not find p.liquid," since there is a U.liquid file in the 0 folder, while the multiphase flow model used assumes equal pressures for the two phases and does not distinguish between the pressures of different phases.The current issue is that the four files U, p, U.liquid, and p.liquid cannot all be found.

I haven't found any examples of using the forceCoeffsCompressible function in multiphase flows. Are there any examples could be provided?

And I would like to know that after specifying the phase, if it runs successfully, whether the calculation reflects the influence of the specified phase on the lift and drag forces or the combined influence of all phases on them.
TagsNo tags attached.

Activities

henry

2025-06-24 08:49

manager   ~0013584

User support request.

We can help you use OpenFOAM for your purposes but support requires funding; this is not a free support forum.

Issue History

Date Modified Username Field Change
2025-06-24 07:52 jianglan New Issue
2025-06-24 08:49 henry Assigned To => henry
2025-06-24 08:49 henry Status new => closed
2025-06-24 08:49 henry Resolution open => no change required
2025-06-24 08:49 henry Note Added: 0013584