CPC G06F 30/28 (2020.01) [G06F 30/23 (2020.01); G06F 2111/10 (2020.01)] | 6 Claims |
1. A construction method for a hydrodynamic joint computation model, comprising:
constructing an initial hydrodynamic joint computation model, the initial hydrodynamic joint computation model comprising a two-dimensional model and a three-dimensional model which are connected in sequence, a plurality of layers of computational grids being nested in a junction of the two-dimensional model and the three-dimensional model, the plurality of layers of computational grids of the two-dimensional model forming inner boundaries of the two-dimensional model, and the plurality of layers of computational grids of the three-dimensional model forming inner boundaries of the three-dimensional model;
respectively initializing the two-dimensional model and the three-dimensional model;
obtaining three-dimensional definition parameters of the inner boundaries of the three-dimensional model according to two-dimensional initial parameters of the computational grids in the inner boundaries of the two-dimensional model, and then, assigning the three-dimensional definition parameters to the inner boundaries of the three-dimensional model;
obtaining two-dimensional definition parameters of the computational grids in the inner boundaries of the two-dimensional model according to the three-dimensional definition parameters of the inner boundaries of the three-dimensional model, and then, assigning the two-dimensional definition parameters to the computational grids in the inner boundaries of the two-dimensional model; and
updating the two-dimensional definition parameters into new two-dimensional initial parameters, and then, reobtaining the three-dimensional definition parameters of the inner boundaries of the three-dimensional model according to the two-dimensional initial parameters of the computational grids in the inner boundaries of the two-dimensional model until computation is converged or ended when a preset simulation time is reached to obtain the hydrodynamic joint computation model, wherein
obtaining three-dimensional definition parameters of the inner boundaries of the three-dimensional model according to two-dimensional initial parameters of the computational grids in the inner boundaries of the two-dimensional model comprises:
obtaining actual physical quantities of the computational grids in the inner boundaries of the two-dimensional model according to the two-dimensional initial parameters of the computational grids in the inner boundaries of the two-dimensional model; and
obtaining the three-dimensional definition parameters of the inner boundaries of the three-dimensional model according to the actual physical quantities of the computational grids in the inner boundaries of the two-dimensional model;
assigning the three-dimensional definition parameters to the inner boundaries of the three-dimensional model comprises:
obtaining a number of vertical grids in the inner boundaries of the three-dimensional model according to the three-dimensional definition parameters;
obtaining unit definition parameters of all vertical computational grids in the inner boundaries of the three-dimensional model according to the three-dimensional definition parameters and the number of the vertical grids, wherein, the unit definition parameters are equal to the three-dimensional definition parameters or the number of the vertical grids; and
respectively assigning the unit definition parameters to all the vertical computational grids in the inner boundaries of the three-dimensional model; and
obtaining two-dimensional definition parameters of the computational grids in the inner boundaries of the two-dimensional model according to the three-dimensional definition parameters of the inner boundaries of the three-dimensional model comprises:
obtaining actual physical quantities of any computational grids in the inner boundaries of the three-dimensional model according to the three-dimensional definition parameters of the inner boundaries of the three-dimensional model; and
obtaining the two-dimensional definition parameters of the inner boundaries of the two-dimensional model according to the actual physical quantities of the computational grids in the inner boundaries of the three-dimensional model.
|