Mathematical description
The PDEs is given by
ρt+∇⋅(ρv)ρ(∂tv+v⋅∇v)+∇p∂t[ϵ+2ρv2]+∇⋅[(ϵ+p+2ρv2)v]=0,=0,=0,
where ϵ=3p/2 and v=∣∣v∣∣ .
The domain is defined as
(x,t)∈(0,1)3×[0,1]
The initial condition is
v(x,0)=∑i=1nAisin(kix+ϕi),
where n=4,Ai=cs/∣ki∣2 and cS is the speed of sound.
All PDEs are subject to periodic boundary conditions due to the domain being defined as a periodic cubic domain (0,1)3 . Periodic boundary conditions imply that the values of the variables wrap around the boundaries of the domain, maintaining periodicity in the solution.
Dataset file information
File name: 3D_CFD_rand_M1.0_periodic_Train.hdf5
File hierarchy:
/
|-- Vx
|-- Vy
|-- Vz
|-- density
|-- pressure
|-- x-coordinate
|-- y-coordinate
|-- z-coordinate
|-- t-coordinate
Datasets information:
- Vx
- Shape: (100, 21, 128, 128, 128)
- Data Type: float
- Description: velocity component in the x-direction
- Vy
- Shape: (100, 21, 128, 128, 128)
- Data Type: float
- Description: velocity component in the y-direction
- Vz
- Shape: (100, 21, 128, 128, 128)
- Data Type: float
- Description: velocity component in the z-direction
- density
- Shape: (100, 21, 128, 128, 128)
- Data Type: float
- Description: density
- pressure
- Shape: (100, 21, 128, 128, 128)
- Data Type: float
- Description: gas pressure
- x-coordinate
- Shape: (128,)
- Data Type: float
- Description: x-axis spatial coordinates
- y-coordinate
- Shape: (128,)
- Data Type: float
- Description: y-axis spatial coordinates
- z-coordinate
- Shape: (128,)
- Data Type: float
- Description: z-axis spatial coordinates
- t-coordinate
- Shape: (22,)
- Data Type: float
- Description: temporal coordinates
Data generation method
We use the data generation code from PDEBench to generate equation data. The numerical solution is calculated with the temporally and spatially 2nd-order HLLC scheme with the MUSCL method for the inviscid part, and the central difference scheme for the viscous part. Specifically, we run the shell script: bash data_gen/data_gen_NLE/CompressibleFluid/run_trainset_3D.sh, which will in turn run the python script data_gen/data_gen_NLE/CompressibleFluid/CFD_multi_Hydra.py and update nn and key args in config file data_gen/data_gen_NLE/CompressibleFluid/config/args/3D_Multi_Rand.yaml . Finally, we run the data merge script python data_gen/data_gen_NLE/Data_Merge.py to merge data.