piclas icon indicating copy to clipboard operation
piclas copied to clipboard

Problem with Constant Pressure BC

Open hamidmoezzi1988 opened this issue 5 months ago • 0 comments

Hey all, I have a problem with implementing constant pressure outlet BC. I consider the outlet as open and then add the followings to the parameter.ini file: Part-Species1-Surfaceflux2-BC=2 Part-Species1-Surfaceflux2-velocityDistribution = maxwell Part-Species1-Surfaceflux2-VeloIC = 1 Part-Species1-Surfaceflux2-VeloVecIC = (/1.0,0.0,0.0/) Part-Species1-Surfaceflux2-MWTemperatureIC = 300. Part-Species1-Surfaceflux2-TempVib = 0. Part-Species1-Surfaceflux2-TempRot = 0. Part-Species1-Surfaceflux2-Adaptive = TRUE Part-Species1-Surfaceflux2-Adaptive-Type = 2 Part-Species1-Surfaceflux2-Adaptive-Pressure = 800

AdaptiveBC-RelaxationFactor = 0.02 AdaptiveBC-SamplingIteration = 0,10,10 AdaptiveBC-TruncateRunningAverage = F,F,T AdaptiveBC-AverageValuesOverBC = T,F nocrosscombination:AdaptiveBC-SamplingIteration,AdaptiveBC-TruncateRunningAverage

After running the simulation with this BC, seemingly, it acts as the perfect vacuum BC and does not maintain the preset pressure. What can be the problem?

Also, in this implementation, why do we need to define the outlet temperature (MWTemperatureIC) and velocity (VeloIC)? I do not know the exact temperature and velocity at the outlet and would prefer for the code to treat them as zero-gradient conditions.

I would appreciate any comments regarding my issues.

Thank you for your time. Hamid

hamidmoezzi1988 avatar Sep 25 '24 14:09 hamidmoezzi1988