判断壁面类型


  • 管理员

    #include "fixedValueFvPatchFields.H"
    #include "zeroGradientFvPatchFields.H"
    #include "wallPolyPatch.H"
    
    if isA<wallPolyPatch>
    (
        mom[0][0].boundaryField()[P]
    )
    else if 
    (
        isA<fixedValueFvPatchScalarField>
        (   
            mom[0][0].boundaryField()[P]
        )
    )
    

Log in to reply
 


CFD中文网 | 东岳流体学术 | 东岳流体商业 | 吉ICP备20003622号-1