-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test different LS with the same reference solution (diffusion_line_so…
…urce) (#101)
- Loading branch information
1 parent
1d7523a
commit 844d866
Showing
6 changed files
with
178 additions
and
9 deletions.
There are no files selected for viewing
Git LFS file not shown
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<svFSIFile version="0.1"> | ||
|
||
<GeneralSimulationParameters> | ||
|
||
<Continue_previous_simulation> false </Continue_previous_simulation> | ||
<Number_of_spatial_dimensions> 2 </Number_of_spatial_dimensions> | ||
<Number_of_time_steps> 2 </Number_of_time_steps> | ||
<Time_step_size> 0.01 </Time_step_size> | ||
<Spectral_radius_of_infinite_time_step> 0.50 </Spectral_radius_of_infinite_time_step> | ||
<Searched_file_name_to_trigger_stop> STOP_SIM </Searched_file_name_to_trigger_stop> | ||
|
||
<Save_results_to_VTK_format> 1 </Save_results_to_VTK_format> | ||
<Name_prefix_of_saved_VTK_files> result </Name_prefix_of_saved_VTK_files> | ||
<Increment_in_saving_VTK_files> 2 </Increment_in_saving_VTK_files> | ||
<Start_saving_after_time_step> 1 </Start_saving_after_time_step> | ||
|
||
<Increment_in_saving_restart_files> 100 </Increment_in_saving_restart_files> | ||
<Convert_BIN_to_VTK_format> 0 </Convert_BIN_to_VTK_format> | ||
|
||
<Verbose> 1 </Verbose> | ||
<Warning> 0 </Warning> | ||
<Debug> 0 </Debug> | ||
|
||
</GeneralSimulationParameters> | ||
|
||
<Add_mesh name="msh" > | ||
|
||
<Mesh_file_path> mesh/mesh-complete.mesh.vtu </Mesh_file_path> | ||
|
||
<Add_face name="left"> | ||
<Face_file_path> mesh/mesh-surfaces/left.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
<Add_face name="right"> | ||
<Face_file_path> mesh/mesh-surfaces/right.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
<Add_face name="bottom"> | ||
<Face_file_path> mesh/mesh-surfaces/bottom.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
<Add_face name="top"> | ||
<Face_file_path> mesh/mesh-surfaces/bottom.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
</Add_mesh> | ||
|
||
<Add_equation type="heatS" > | ||
<Coupled> true </Coupled> | ||
<Min_iterations> 1 </Min_iterations> | ||
<Max_iterations> 5 </Max_iterations> | ||
<Tolerance> 1e-6 </Tolerance> | ||
|
||
<Conductivity> 1.0 </Conductivity> | ||
<Source_term> 0.0 </Source_term> | ||
<Density> 0.0 </Density> | ||
|
||
<Output type="Spatial" > | ||
<Temperature> true </Temperature> | ||
<Heat_flux> true </Heat_flux> | ||
</Output> | ||
|
||
<LS type="BICG" > | ||
<Max_iterations> 100 </Max_iterations> | ||
<Tolerance> 1e-6 </Tolerance> | ||
</LS> | ||
|
||
<Add_BC name="left" > | ||
<Type> Dir </Type> | ||
<Value> 10.0 </Value> | ||
<Zero_out_perimeter> false </Zero_out_perimeter> | ||
</Add_BC> | ||
|
||
<Add_BC name="right" > | ||
<Type> Dir </Type> | ||
<Value> 0.0 </Value> | ||
<Zero_out_perimeter> true </Zero_out_perimeter> | ||
</Add_BC> | ||
|
||
</Add_equation> | ||
|
||
</svFSIFile> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<svFSIFile version="0.1"> | ||
|
||
<GeneralSimulationParameters> | ||
|
||
<Continue_previous_simulation> false </Continue_previous_simulation> | ||
<Number_of_spatial_dimensions> 2 </Number_of_spatial_dimensions> | ||
<Number_of_time_steps> 2 </Number_of_time_steps> | ||
<Time_step_size> 0.01 </Time_step_size> | ||
<Spectral_radius_of_infinite_time_step> 0.50 </Spectral_radius_of_infinite_time_step> | ||
<Searched_file_name_to_trigger_stop> STOP_SIM </Searched_file_name_to_trigger_stop> | ||
|
||
<Save_results_to_VTK_format> 1 </Save_results_to_VTK_format> | ||
<Name_prefix_of_saved_VTK_files> result </Name_prefix_of_saved_VTK_files> | ||
<Increment_in_saving_VTK_files> 2 </Increment_in_saving_VTK_files> | ||
<Start_saving_after_time_step> 1 </Start_saving_after_time_step> | ||
|
||
<Increment_in_saving_restart_files> 100 </Increment_in_saving_restart_files> | ||
<Convert_BIN_to_VTK_format> 0 </Convert_BIN_to_VTK_format> | ||
|
||
<Verbose> 1 </Verbose> | ||
<Warning> 0 </Warning> | ||
<Debug> 0 </Debug> | ||
|
||
</GeneralSimulationParameters> | ||
|
||
<Add_mesh name="msh" > | ||
|
||
<Mesh_file_path> mesh/mesh-complete.mesh.vtu </Mesh_file_path> | ||
|
||
<Add_face name="left"> | ||
<Face_file_path> mesh/mesh-surfaces/left.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
<Add_face name="right"> | ||
<Face_file_path> mesh/mesh-surfaces/right.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
<Add_face name="bottom"> | ||
<Face_file_path> mesh/mesh-surfaces/bottom.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
<Add_face name="top"> | ||
<Face_file_path> mesh/mesh-surfaces/bottom.vtp </Face_file_path> | ||
</Add_face> | ||
|
||
</Add_mesh> | ||
|
||
<Add_equation type="heatS" > | ||
<Coupled> true </Coupled> | ||
<Min_iterations> 1 </Min_iterations> | ||
<Max_iterations> 5 </Max_iterations> | ||
<Tolerance> 1e-6 </Tolerance> | ||
|
||
<Conductivity> 1.0 </Conductivity> | ||
<Source_term> 0.0 </Source_term> | ||
<Density> 0.0 </Density> | ||
|
||
<Output type="Spatial" > | ||
<Temperature> true </Temperature> | ||
<Heat_flux> true </Heat_flux> | ||
</Output> | ||
|
||
<LS type="CG" > | ||
<Preconditioner> RCS </Preconditioner> | ||
<Tolerance> 1e-6 </Tolerance> | ||
</LS> | ||
|
||
<Add_BC name="left" > | ||
<Type> Dir </Type> | ||
<Value> 10.0 </Value> | ||
<Zero_out_perimeter> false </Zero_out_perimeter> | ||
</Add_BC> | ||
|
||
<Add_BC name="right" > | ||
<Type> Dir </Type> | ||
<Value> 0.0 </Value> | ||
<Zero_out_perimeter> true </Zero_out_perimeter> | ||
</Add_BC> | ||
|
||
</Add_equation> | ||
|
||
</svFSIFile> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters