Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
multiphysics_interface.cc File Reference
#include "solvers/time_harmonic_maxwell.h"
#include <solvers/cahn_hilliard.h>
#include <solvers/cls.h>
#include <solvers/continuum_solid_dynamics.h>
#include <solvers/heat_transfer.h>
#include <solvers/multiphysics_interface.h>
#include <solvers/qmom_field_function.h>
#include <solvers/tracer.h>
#include <deal.II/base/exceptions.h>
#include <string>
Include dependency graph for multiphysics_interface.cc:

Go to the source code of this file.

Macros

#define _unused(x)

Functions

 DeclException1 (ThermalBuoyancyWithoutFluidDynamicsError, bool,<< std::boolalpha<< "Thermal buoyancy force is activated ("<< arg1<< "), while fluid dynamics is not activated (false)."<< std::endl<< "Thermal buoyancy force cannot be activated without activating fluid dynamics.")
 DeclException1 (ThermalBuoyancyWithoutHeatTransferError, bool,<< std::boolalpha<< "Thermal buoyancy force is activated ("<< arg1<< "), while heat transfer is not activated (false)."<< std::endl<< "Thermal buoyancy force cannot be activated without activating heat transfer.")
 DeclException1 (MicrowaveHeatingWithoutElectromagneticsError, bool,<< std::boolalpha<< "Microwave heating is activated ("<< arg1<< "), while electromagnetics is not activated (false)."<< std::endl<< "Microwave heating cannot be activated without activating electromagnetics.")
 DeclException1 (MarangoniWithoutFluidDynamicsError, bool,<< std::boolalpha<< "Marangoni effect is activated ("<< arg1<< "), while fluid dynamics is not activated (false)."<< std::endl<< "Marangoni effect cannot be activated without activating fluid dynamics.")
 DeclException1 (MarangoniWithoutHeatTransferError, bool,<< std::boolalpha<< "Marangoni effect is activated ("<< arg1<< "), while heat transfer is not activated (false)."<< std::endl<< "Marangoni effect cannot be activated without activating heat transfer.")
 DeclException1 (MarangoniWithoutSurfaceTensionForceError, bool,<< std::boolalpha<< "Marangoni effect is activated ("<< arg1<< "), while surface tension force is not activated (false)."<< std::endl<< "Marangoni effect cannot be activated without activating surface tension force.")
 DeclException1 (SurfaceTensionForceWithoutCLSError, bool,<< std::boolalpha<< "Surface tension force is activated ("<< arg1<< "), while CLS is not activated (false)."<< std::endl<< "Surface tension force cannot be activated without activating CLS.")
 DeclException1 (MarangoniWithoutCLSError, bool,<< std::boolalpha<< "Marangoni effect is activated ("<< arg1<< "), while CLS is not activated (false)."<< std::endl<< "Marangoni effect cannot be activated without activating CLS.")
 DeclException1 (InterfaceSharpeningWithoutCLSError, bool,<< std::boolalpha<< "Interface sharpening is activated ("<< arg1<< "), while CLS is not activated (false)."<< std::endl<< "Interface sharpening cannot be activated without activating CLS.")
 DeclExceptionMsg (CahnHilliardWithHeatTransferError, "Cahn-Hilliard and heat transfer are both activated. " "This combination is not currently supported.")
 DeclExceptionMsg (CahnHilliardWithThermalBuoyancyForceError, "Cahn-Hilliard and thermal buoyancy force are both activated. " "This combination is not currently supported.")
 DeclException1 (PhysicsVANSFormNotImplementedError, std::string,<< "The \""<< arg1<< "\" auxiliary physics is enabled together with the VANS " "(volume-averaged Navier-Stokes) fluid dynamics solver, but a " "volume-averaged form of this physics is not yet implemented " "in Lethe. Disable this physics in the multiphysics subsection, " "or use a solver of the standard Navier-Stokes equations " "(e.g. lethe-fluid).")

Macro Definition Documentation

◆ _unused

#define _unused ( x)
Value:
((void)(x))

Definition at line 17 of file multiphysics_interface.cc.

Function Documentation

◆ DeclException1() [1/10]

DeclException1 ( InterfaceSharpeningWithoutCLSError ,
bool ,
<< std::boolalpha<< "Interface sharpening is activated "<< arg1<< ",
while CLS is not activated(false)."<< std::endl<< "Interface sharpening cannot be activated without activating CLS."  )

◆ DeclException1() [2/10]

DeclException1 ( MarangoniWithoutCLSError ,
bool ,
<< std::boolalpha<< "Marangoni effect is activated "<< arg1<< ",
while CLS is not activated(false)."<< std::endl<< "Marangoni effect cannot be activated without activating CLS."  )

◆ DeclException1() [3/10]

DeclException1 ( MarangoniWithoutFluidDynamicsError ,
bool ,
<< std::boolalpha<< "Marangoni effect is activated "<< arg1<< ",
while fluid dynamics is not activated(false)."<< std::endl<< "Marangoni effect cannot be activated without activating fluid dynamics."  )

◆ DeclException1() [4/10]

DeclException1 ( MarangoniWithoutHeatTransferError ,
bool ,
<< std::boolalpha<< "Marangoni effect is activated "<< arg1<< ",
while heat transfer is not activated(false)."<< std::endl<< "Marangoni effect cannot be activated without activating heat transfer."  )

◆ DeclException1() [5/10]

DeclException1 ( MarangoniWithoutSurfaceTensionForceError ,
bool ,
<< std::boolalpha<< "Marangoni effect is activated "<< arg1<< ",
while surface tension force is not activated(false)."<< std::endl<< "Marangoni effect cannot be activated without activating surface tension force."  )

◆ DeclException1() [6/10]

DeclException1 ( MicrowaveHeatingWithoutElectromagneticsError ,
bool ,
<< std::boolalpha<< "Microwave heating is activated "<< arg1<< ",
while electromagnetics is not activated(false)."<< std::endl<< "Microwave heating cannot be activated without activating electromagnetics."  )

◆ DeclException1() [7/10]

DeclException1 ( PhysicsVANSFormNotImplementedError ,
std::string ,
<< "The \""<< arg1<< "\" auxiliary physics is enabled together with the VANS " "(volume-averaged Navier-Stokes) fluid dynamics solver,
but a " "volume-averaged form of this physics is not yet implemented " "in Lethe. Disable this physics in the multiphysics subsection,
" "or use a solver of the standard Navier-Stokes equations " "(e.g. lethe-fluid)."  )

◆ DeclException1() [8/10]

DeclException1 ( SurfaceTensionForceWithoutCLSError ,
bool ,
<< std::boolalpha<< "Surface tension force is activated "<< arg1<< ",
while CLS is not activated(false)."<< std::endl<< "Surface tension force cannot be activated without activating CLS."  )

◆ DeclException1() [9/10]

DeclException1 ( ThermalBuoyancyWithoutFluidDynamicsError ,
bool ,
<< std::boolalpha<< "Thermal buoyancy force is activated "<< arg1<< ",
while fluid dynamics is not activated(false)."<< std::endl<< "Thermal buoyancy force cannot be activated without activating fluid dynamics."  )

◆ DeclException1() [10/10]

DeclException1 ( ThermalBuoyancyWithoutHeatTransferError ,
bool ,
<< std::boolalpha<< "Thermal buoyancy force is activated "<< arg1<< ",
while heat transfer is not activated(false)."<< std::endl<< "Thermal buoyancy force cannot be activated without activating heat transfer."  )

◆ DeclExceptionMsg() [1/2]

DeclExceptionMsg ( CahnHilliardWithHeatTransferError ,
"Cahn-Hilliard and heat transfer are both activated. " "This combination is not currently supported."  )

◆ DeclExceptionMsg() [2/2]

DeclExceptionMsg ( CahnHilliardWithThermalBuoyancyForceError ,
"Cahn-Hilliard and thermal buoyancy force are both activated. " "This combination is not currently supported."  )