Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems on setting time-varying boundary conditions #157

Open
ZZJH999 opened this issue Mar 12, 2024 · 1 comment
Open

Problems on setting time-varying boundary conditions #157

ZZJH999 opened this issue Mar 12, 2024 · 1 comment

Comments

@ZZJH999
Copy link

ZZJH999 commented Mar 12, 2024

Hello,
I am a graduate student 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 starting to run, although there is no error, the patches that should change over time are treated as uniform type in all time folders except the 0 folder. I guess dsmcFreeStreamInflowFieldPatch cannot be applied to time-varying boundary conditions. Could someone kindly assist me in solving this problem?

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

Thank you for your time.

@ZZJH999
Copy link
Author

ZZJH999 commented Mar 13, 2024

After several attempts, based on the files such as boundaryU in the time folders of my case, it appears that the setting of uniformFixedValue has been correctly read, but it has not actually been applied to the values of physical quantities on boundaries. Currently, it seems that dsmcFoam+ selects a value from a specific time (usually the first moment) in the tableFile and assigns it to the boundary, and then proceeds just like a steady-state calculations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant