Skip to content

Problems on setting time-varying boundary conditions #157

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

Open
ZZJH999 opened this issue Mar 12, 2024 · 5 comments
Open

Problems on setting time-varying boundary conditions #157

ZZJH999 opened this issue Mar 12, 2024 · 5 comments

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.

@Guanghui1234
Copy link

Hi! Can you show your dsmcGeneralBoundaries settings? After changing to dsmcFreeStreamInflowFieldPatch, I don't know how to correctly set dsmcFreeStreamInFlowFieldPatchProperties. Thank you.

@ZZJH999 ZZJH999 closed this as completed Apr 7, 2025
@ZZJH999
Copy link
Author

ZZJH999 commented Apr 7, 2025

Hi! Can you show your dsmcGeneralBoundaries settings? After changing to dsmcFreeStreamInflowFieldPatch, I don't know how to correctly set dsmcFreeStreamInFlowFieldPatchProperties. Thank you.

你好,中国人么?Could you share your email address please? So I can send you a document that may contain the information you need.

@ZZJH999 ZZJH999 reopened this Apr 7, 2025
@ZZJH999 ZZJH999 closed this as completed Apr 7, 2025
@ZZJH999 ZZJH999 reopened this Apr 7, 2025
@Guanghui1234
Copy link

是的,中国人,哈哈。781966930@qq.com,非常感谢

@ZZJH999
Copy link
Author

ZZJH999 commented Apr 7, 2025

是的,中国人,哈哈。781966930@qq.com,非常感谢

已发,祝顺利。其实我当时的工作也就到此为止了,之后更换求解器去做别的方向了,希望能帮到你。

@ZZJH999 ZZJH999 closed this as completed Apr 7, 2025
@ZZJH999 ZZJH999 reopened this Apr 7, 2025
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

2 participants