Connect water forces to explicit setup
This commit is contained in:
@@ -12,6 +12,7 @@ module sph_input_reader
|
||||
use sph_water, only: sph_water_note_material, sph_water_set_eos, &
|
||||
sph_water_set_viscosity, sph_water_set_particle_control, &
|
||||
sph_water_set_body_force, sph_water_apply_initial_conditions
|
||||
use sph_neighbor, only: sph_neighbor_rebuild
|
||||
use sph_inp_defs, only: SPH_INPUT_LINE_LEN, SPH_INPUT_FIELD_LEN, &
|
||||
SPH_INPUT_MAX_FIELDS, SPH_KEY_NODE, SPH_KEY_ELEMENT, SPH_KEY_NSET, &
|
||||
SPH_KEY_ELSET, SPH_KEY_MATERIAL, SPH_KEY_SECTION, SPH_KEY_SPHLITE, &
|
||||
@@ -92,6 +93,8 @@ contains
|
||||
return
|
||||
end if
|
||||
call sph_water_apply_initial_conditions(ierr)
|
||||
if (ierr /= SPH_SUCCESS) return
|
||||
call sph_neighbor_rebuild(ierr)
|
||||
end subroutine sph_input_build_model
|
||||
|
||||
subroutine sph_input_scan(filename, node_count, ierr)
|
||||
|
||||
Reference in New Issue
Block a user