diff --git a/applications_tests/lethe-fluid/tracer_flow_rate.prm b/applications_tests/lethe-fluid/tracer_flow_rate.prm index ddbf972c9e..ba1f034e51 100755 --- a/applications_tests/lethe-fluid/tracer_flow_rate.prm +++ b/applications_tests/lethe-fluid/tracer_flow_rate.prm @@ -1,18 +1,10 @@ set dimension = 2 subsection simulation control - set method = steady set output frequency = 0 end -subsection FEM - set velocity order = 1 - set pressure order = 1 - set tracer order = 1 -end - subsection physical properties - set number of fluids = 1 subsection fluid 0 set kinematic viscosity = 0.01 set tracer diffusivity = 1 @@ -20,8 +12,7 @@ subsection physical properties end subsection multiphysics - set fluid dynamics = true - set tracer = true + set tracer = true end subsection mesh @@ -70,9 +61,8 @@ subsection post-processing set verbosity = verbose set calculate tracer statistics = true set tracer statistics name = tracer_statistics - - set calculate tracer flow rate = true - set tracer flow rate name = tracer_flow_rate_test + set calculate tracer flow rate = true + set tracer flow rate name = tracer_flow_rate_test end subsection non-linear solver diff --git a/include/core/parameters.h b/include/core/parameters.h index 3dfc0b9109..1dbc85d293 100644 --- a/include/core/parameters.h +++ b/include/core/parameters.h @@ -884,7 +884,7 @@ namespace Parameters /// Enable flow rate post-processing bool calculate_flow_rate; - /// Enable flow rate post-processing + /// Enable tracer flow rate post-processing bool calculate_tracer_flow_rate; /// Set initial time to start calculations for velocities @@ -905,7 +905,7 @@ namespace Parameters /// Prefix for flow rate output std::string flow_rate_output_name; - /// Prefix for flow rate output + /// Prefix for tracer flow rate output std::string tracer_flow_rate_output_name; /// Prefix for the enstrophy output diff --git a/include/solvers/tracer.h b/include/solvers/tracer.h index 278e2956bc..cbb2805a76 100644 --- a/include/solvers/tracer.h +++ b/include/solvers/tracer.h @@ -399,7 +399,7 @@ class Tracer : public AuxiliaryPhysics std::shared_ptr simulation_control; DoFHandler dof_handler; - // Finite element spce + // Finite element space std::shared_ptr> fe; // Mapping and Quadrature diff --git a/source/solvers/tracer.cc b/source/solvers/tracer.cc index 0a3c05229c..edfbe63f91 100644 --- a/source/solvers/tracer.cc +++ b/source/solvers/tracer.cc @@ -687,7 +687,7 @@ Tracer::postprocess_tracer_flow_rate(const VectorType ¤t_solution_fd) tracer_flow_rate_vector[i_bc] = Utilities::MPI::sum(tracer_flow_rate_vector[i_bc], mpi_communicator); - // Filling table + // Fill table this->tracer_flow_rate_table.add_value( "time", this->simulation_control->get_current_time()); this->tracer_flow_rate_table.set_precision("time", 12); @@ -707,11 +707,11 @@ Tracer::postprocess_tracer_flow_rate(const VectorType ¤t_solution_fd) if (simulation_parameters.post_processing.verbosity == Parameters::Verbosity::verbose) { - this->pcout << "Tracer flow rate at the boundaries : " << std::endl; + this->pcout << "Tracer flow rate at the boundaries: " << std::endl; for (unsigned int i_bc = 0; i_bc < this->simulation_parameters.boundary_conditions.size; ++i_bc) - this->pcout << "\t boundary " << i_bc << " : " + this->pcout << "\t boundary " << i_bc << ": " << tracer_flow_rate_vector[i_bc] << std::endl; }