https://github.com/geodynamics/citcoms
Revision bcf06ab870d4cfd4a7c8594146ed51e41b23d5f9 authored by Eh Tan on 09 August 2007, 22:57:28 UTC, committed by Eh Tan on 09 August 2007, 22:57:28 UTC
Two non-dimensional parameters are added: "dissipation_number" and "gruneisen" under the Solver component. One can use the original incompressible solver by setting "gruneisen=0". The code will treat this as "gruneisen=infinity". Setting non-zero value to "gruneisen" will switch to compressible solver. One can use the TALA solver for incompressible case by setting "gruneisen" to a non-zero value while setting "dissipation_number=0". This is useful when debugging the compressible solver. Two implementations are available: one by Wei Leng (U. Colorado) and one by Eh Tan (CIG). Leng's version uses the original conjugate gradient method for the Uzawa iteration and moves the contribution of compressibility to the RHS, similar to the method of Ita and King, JGR, 1994. Tan's version uses the bi-conjugate gradient stablized method for the Uzawa iteration, similar to the method of Tan and Gurnis, JGR, 2007. Both versions agree very well. In the benchmark case, 33x33x33 nodes per cap, Di/gamma=1.0, Ra=1.0, delta function of load at the mid mantle, the peak velocity differs by only 0.007%. Leng's version is enabled by default. Edit function solve_Ahat_p_fhat() in lib/Stokes_flow_Incomp.c to switch to Tan's version.
1 parent 91bcb85
Tip revision: bcf06ab870d4cfd4a7c8594146ed51e41b23d5f9 authored by Eh Tan on 09 August 2007, 22:57:28 UTC
Finished the compressible Stokes solver for TALA.
Finished the compressible Stokes solver for TALA.
Tip revision: bcf06ab
File | Mode | Size |
---|---|---|
Advection_diffusion.c | -rw-r--r-- | 23.8 KB |
BC_util.c | -rw-r--r-- | 3.8 KB |
Checkpoints.c | -rw-r--r-- | 14.2 KB |
Citcom_init.c | -rw-r--r-- | 1.7 KB |
Composition_related.c | -rw-r--r-- | 12.7 KB |
Construct_arrays.c | -rw-r--r-- | 22.4 KB |
Convection.c | -rw-r--r-- | 3.6 KB |
Drive_solvers.c | -rw-r--r-- | 6.4 KB |
Element_calculations.c | -rw-r--r-- | 34.0 KB |
Full_boundary_conditions.c | -rw-r--r-- | 7.4 KB |
Full_geometry_cartesian.c | -rw-r--r-- | 3.3 KB |
Full_lith_age_read_files.c | -rw-r--r-- | 1.3 KB |
Full_obsolete.c | -rw-r--r-- | 28.0 KB |
Full_parallel_related.c | -rw-r--r-- | 44.0 KB |
Full_read_input_from_files.c | -rw-r--r-- | 9.4 KB |
Full_solver.c | -rw-r--r-- | 3.8 KB |
Full_sphere_related.c | -rw-r--r-- | 4.7 KB |
Full_tracer_advection.c | -rw-r--r-- | 109.1 KB |
Full_version_dependent.c | -rw-r--r-- | 12.2 KB |
General_matrix_functions.c | -rw-r--r-- | 31.8 KB |
Global_operations.c | -rw-r--r-- | 18.4 KB |
Initial_temperature.c | -rw-r--r-- | 7.2 KB |
Instructions.c | -rw-r--r-- | 37.5 KB |
Interuption.c | -rw-r--r-- | 1.5 KB |
Lith_age.c | -rw-r--r-- | 13.4 KB |
Makefile.am | -rw-r--r-- | 3.3 KB |
Material_properties.c | -rw-r--r-- | 3.5 KB |
Nodal_mesh.c | -rw-r--r-- | 9.8 KB |
Obsolete.c | -rw-r--r-- | 25.0 KB |
Output.c | -rw-r--r-- | 14.2 KB |
Output_h5.c | -rw-r--r-- | 74.2 KB |
Pan_problem_misc_functions.c | -rw-r--r-- | 9.0 KB |
Parallel_util.c | -rw-r--r-- | 1.7 KB |
Parsing.c | -rw-r--r-- | 19.2 KB |
Phase_change.c | -rw-r--r-- | 6.1 KB |
Problem_related.c | -rw-r--r-- | 3.9 KB |
Process_buoyancy.c | -rw-r--r-- | 7.0 KB |
Regional_boundary_conditions.c | -rw-r--r-- | 15.7 KB |
Regional_geometry_cartesian.c | -rw-r--r-- | 2.6 KB |
Regional_lith_age_read_files.c | -rw-r--r-- | 1.3 KB |
Regional_obsolete.c | -rw-r--r-- | 25.3 KB |
Regional_parallel_related.c | -rw-r--r-- | 29.7 KB |
Regional_read_input_from_files.c | -rw-r--r-- | 9.7 KB |
Regional_solver.c | -rw-r--r-- | 4.0 KB |
Regional_sphere_related.c | -rw-r--r-- | 7.5 KB |
Regional_tracer_advection.c | -rw-r--r-- | 30.3 KB |
Regional_version_dependent.c | -rw-r--r-- | 16.9 KB |
Shape_functions.c | -rw-r--r-- | 5.8 KB |
Size_does_matter.c | -rw-r--r-- | 34.5 KB |
Solver_conj_grad.c | -rw-r--r-- | 1.8 KB |
Solver_multigrid.c | -rw-r--r-- | 19.3 KB |
Sphere_harmonics.c | -rw-r--r-- | 10.2 KB |
Sphere_util.c | -rw-r--r-- | 2.9 KB |
Stokes_flow_Incomp.c | -rw-r--r-- | 23.2 KB |
Topo_gravity.c | -rw-r--r-- | 28.6 KB |
Tracer_setup.c | -rw-r--r-- | 47.0 KB |
Viscosity_structures.c | -rw-r--r-- | 25.8 KB |
advection.h | -rw-r--r-- | 1.6 KB |
advection_diffusion.h | -rw-r--r-- | 1.4 KB |
checkpoints.h | -rw-r--r-- | 1.2 KB |
citcom_init.h | -rw-r--r-- | 1.3 KB |
composition_related.h | -rw-r--r-- | 1.3 KB |
convection_variables.h | -rw-r--r-- | 1.6 KB |
drive_solvers.h | -rw-r--r-- | 1.3 KB |
element_definitions.h | -rw-r--r-- | 8.4 KB |
global_defs.h | -rw-r--r-- | 17.3 KB |
hdf5_related.h | -rw-r--r-- | 2.5 KB |
initial_temperature.h | -rw-r--r-- | 1.2 KB |
interuption.h | -rw-r--r-- | 1.1 KB |
lith_age.h | -rw-r--r-- | 1.3 KB |
material_properties.h | -rw-r--r-- | 1.2 KB |
output.h | -rw-r--r-- | 1.4 KB |
output_h5.h | -rw-r--r-- | 1.4 KB |
parallel_related.h | -rw-r--r-- | 1.4 KB |
parsing.h | -rw-r--r-- | 1.8 KB |
phase_change.h | -rw-r--r-- | 1.4 KB |
solver.h | -rw-r--r-- | 2.5 KB |
sphere_communication.h | -rw-r--r-- | 4.5 KB |
tracer_defs.h | -rw-r--r-- | 3.5 KB |
viscosity_descriptions.h | -rw-r--r-- | 3.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...