4. CFD 1D Gas Dynamics library components
4.1. Pipes
The user has access to 4 different components to describe the flow in straight and bent pipes.
The pipes are characterized by their geometry (diameters, length, curvature radius and angle) and the surface roughness which is used to calculate the friction.
The pipe components without a thermal port use a constant wall temperature which is used to simulate the gas/wall convection heat exchanges. A specific gain can be applied to the calculated heat flux. With a gain equal to zero, one has access to adiabatic conditions.
The components with a thermal port can be used to model wall capacity and the heat exchanges between the wall and the surrounding with a dedicated model (thermal library).
The user has two possibilities to get access to variables calculated in the pipe:
The sensor
In every component, a sensor is integrated that makes it possible to observe the flow variables (static and total pressure, temperature, velocity, density, mass flow rate, Mach number) in the pipe at a particular location defined by the user. When a signal port is available, then these variables can be used for post-processing or control purposes. Variables at sensor are computed by the linear interpolation of variables at the cell-centers except for pipe ends where the values at end cell center are given.
The 1D variables (post-processing)
The user can observe the flow field in the pipe using the 1D plot feature. Independently of the calculation mesh for the 1D solver, an integer parameter for number of cells for 1D plot must be set by the user to define the format of the plots. Parameter number of cells for 1D plot is the number of cell centers to be used for the visualization of the flow with 1D plot. Those points are uniformly distributed over the interval defined by the first and the last centers of calculation cells. At the visualization points, variables are determined by linear interpolation. A high number of points will give detailed results but large results files. In the example, 20 points are generated:
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库AMESim(CFD一维气体动力学库)(18)在线全文阅读。
相关推荐: