Closed YuVirtonomy closed 2 weeks ago
@FengWang3119 Could you also have this issue. It may related to the transport formulation too.
OK I will check it. Maybe measuring velocity from X = 0.9DL will make a difference
@Xiangyu-Hu @FengWang3119 With transport and linear corrections applied, the velocity profile fits analytically very well. In the FDA geometry, a parabolic flow forms between the inlet and the nozzle region. However, the flow becomes asymmetric after the sudden expansion in the FDA geometry.
@YuVirtonomy Did you add a constant time-reducing gravity to avoid the start-up instability? Similar in the case, free stream flow around cynlinder. I also meet this kind of problem for the long channel case.
https://www.mdpi.com/2311-5521/6/1/4#B33-fluids-06-00004 in 2d, you can see the instant flow is no symmetric even when Re is much less that 500.
@Xiangyu-Hu @FengWang3119 With transport and linear corrections applied, the velocity profile fits analytically very well. In the FDA geometry, a parabolic flow forms between the inlet and the nozzle region. However, the flow becomes asymmetric after the sudden expansion in the FDA geometry.
https://www.mdpi.com/fluids/fluids-06-00004/article_deploy/html/images/fluids-06-00004-g003-550.jpg
@Xiangyu-Hu @FengWang3119 With transport and linear corrections applied, the velocity profile fits analytically very well. In the FDA geometry, a parabolic flow forms between the inlet and the nozzle region. However, the flow becomes asymmetric after the sudden expansion in the FDA geometry.
https://www.mdpi.com/fluids/fluids-06-00004/article_deploy/html/images/fluids-06-00004-g003-550.jpg
With transport and linear corrections applied, the velocity profile fits analytically very well. In the FDA geometry, a parabolic flow forms between the inlet and the nozzle region. However, the flow becomes asymmetric after the sudden expansion in the FDA geometry.
Based on the same setup, the results are almost exact. The referenced study uses the average velocity at the inlet to calculate the Reynolds number, while in this test case, the Reynolds number is defined using the maximum velocity at the inlet. Therefore, for the test case, Re = 100 corresponds to their Re = 50.
The result was converted to grid-based for streamlined visualization
@Xiangyu-Hu @FengWang3119 Any suggestion to wrap up this branch?
@YuVirtonomy and @FengWang3119 I suggest that we set user case both in 2d and 3d forms, so that Feng can later test turbulence model here.
This seems not a code issue but due to low resolution.
Issue/Question: Deviations in Simulation Outcomes for Long Channel Flow Configurations from Analytical Results
Description
When simulating fluid flow in long channel configurations, deviations in the velocity field from analytical results are observed. The simulation setup includes a parabolic velocity inlet with a maximum velocity of 1.0 and an outlet pressure set to 0. The Reynolds number (Re) is 100, with viscosity calculated accordingly. The resolution is set to DH/40. For the same setup, if DL = 10 DH, the results fit the analytical results very well.
Simulation Setup
Observations
Velocity Field:
Velocity field visualization
Pressure Field:
Pressure field visualization
Velocity Profile at Mid-Channel:
Velocity at radial direction measured from X = 0.5DL
The velocity profile obtained from an observer at the last time step demonstrates that the maximum velocity is slower than the analytical result.
Steps to Reproduce
Check out the branch: issue/velocity_inlet.
Straight Channel Simulations
This section summarizes the results of simulations, focusing on various configurations within a straight channel each configuration details the parameters used, including domain length (DL), resolution, and corrections applied.
Parameters and Configurations
Each simulation varied the domain length (
DL
), transport correction, linear correction, and resolution (DH/40
), with Riemann solvers consistently applied. Observer in this section is located at 0.5DL.Simulations with DL = 10*DH
Simulations with DL = 30*DH
Simulations with DL = 40*DH
Summary with Straight Channel
FDA Geometry Simulations
Simulations in FDA geometries with
DL = 30*DH
andDL = 40*DH
were conducted, focusing on the effectiveness of different correction strategies. Observer in this section is located at 0.5 L_in.DL = 30*DH
DL = 40*DH
Summary with FDA Channel
Observations Without Transport Correction
Without using transport correction, the particle distribution is uneven in the sudden expansion region of the nozzle-type channel. This uneven distribution is particularly problematic in simulations of channels with sudden changes in geometry.
Visual Examples of Particle Clamping due to without Transport Correction
Resolution = DH/40
Results with Transport and Linear Corrections
Using both transport and linear corrections, the results in the FDA simulations align well with predictions. The velocity profiles between the inlet and the shrinking region (DH) form an effective parabolic shape. However, the flow at sudden expansion region's flow is asymmetric.
Visual of asymmetric flow at sudden expansion region
Resolution = DH/40
Resolution = DH/60