# fluid_eos **Repository Path**: fslabgroup/fluid_eos ## Basic Information - **Project Name**: fluid_eos - **Description**: CFD求解器中所学要的流体状态方程 - **Primary Language**: FORTRAN - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2022-02-11 - **Last Updated**: 2023-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Fluid EOS静态链接库 #### 1. 用途 本链接库用于FSLAB软件的流体状态方程的基本函数,目前包括Tamman状态方程(理想气体)、JWL状态方程。 可选择输入适用于JWL状态方程的炸药起爆初始参数 #### 2. Type定义 #### (1) eos_type == 1 : tamman eos input: gamma, pw #### (2) eos_type == 2: JWL input parameters:A, B, C, R1, R2, w,e0,dens0 parameters for JWL #### optional detonation parameters input #### 1.iexpo: .TRUE./.FALSE. #### 2.deton_type: 1 for point-detonation, 2 for plane_detonation #### 3.deton_pos(3), Vexp(3), Pstatic: detonation position, wave velocity, pressure for unexploded part #### 4.deton_dir(3): direction for plane_detonation #### 5. ini_time: define intial stage time to control minor dt #### 3. 子程序定义 #### (1) initiation(eos_type,data_in,iexpo0):初始化材料 #### (2) pressure(density,En,Fb):压力计算,Burn Fraction(Fb)为可选输入项。 #### (3) sound_speed(density,pressure):计算声速 #### (4) internal_energy(pressure,density):计算内能 #### (5) entro2dens(pressure):根据初始材料熵修正计算出现的错误密度 #### (6) pressure_adb(pressure,dens_temp,dens_ifluid): #### (7) entropy(pressure,density):计算材料的熵(仅限Tamman-EOS描述的材料)