CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   dsmcFoam+:Problems on setting time-varying BCs (https://www.cfd-online.com/Forums/openfoam/255079-dsmcfoam-problems-setting-time-varying-bcs.html)

ZZJH March 16, 2024 21:21

dsmcFoam+:Problems on setting time-varying BCs
 
Hello,
I am currently working on a simulation using dsmcFoam+. I want the free inflow condition in my case to change over time. I have tried to use dsmcFreeStreamInflowFieldPatch and set the corresponding patch type to uniformFixedValue in the boundaryT, boundaryU, boundaryNumberDensity files (as shown below), but after running, although there was no error and these boundaryXXX files were correctly updated in time folders, the physical quantities on patches that should change over time are treated as steady in all time folders. I guess dsmcFreeStreamInflowFieldPatch cannot be applied to time-varying boundary conditions. Could someone kindly assist me in solving this problem?
HTML Code:

boundaryField
{
    patch1
    {
        type            uniformFixedValue;
        uniformValue                tableFile;
        uniformValueCoeffs
        {
                file                    "myFileName";
        }
    }
}

Thank you for your time.


All times are GMT -4. The time now is 10:05.