KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
potential_to_compressible_navier_stokes_operation.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Marco Antonio Zuñiga Perez
11 //
12 //
13 
14 #pragma once
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
21 #include "operations/operation.h"
22 
23 namespace Kratos
24 {
27 
30 
38 class KRATOS_API(COMPRESSIBLE_POTENTIAL_FLOW_APPLICATION) PotentialToCompressibleNavierStokesOperation : public Operation
39 {
40 public:
43 
46 
48  KRATOS_REGISTRY_ADD_PROTOTYPE("Operations.KratosMultiphysics.CompressiblePotentialFlowApplication", Operation, PotentialToCompressibleNavierStokesOperation)
50 
51 
54 
57 
59  Model& rModel,
60  Parameters OperationParameters);
61 
64 
67 
71 
74 
75 
79 
86  Operation::Pointer Create(
87  Model& rModel,
88  Parameters ThisParameters) const override;
89 
93  const Parameters GetDefaultParameters() const override;
94 
98  void Execute() override;
99 
101 private:
105 
106  Model* mpModel = nullptr;
107  Parameters mParameters;
108 
110 }; // Class PotentialToCompressibleNavierStokesOperation
111 
113 
114 } // namespace Kratos.
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
The base class for all operations in Kratos.
Definition: operation.h:43
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
This operation pass the nodal velocities from Potential model part as initial condition of a compress...
Definition: potential_to_compressible_navier_stokes_operation.h:39
#define KRATOS_REGISTRY_ADD_PROTOTYPE(NAME, X, Y)
Macro to register class prototypes This macro creates a static bool in the class (which value is not ...
Definition: define_registry.h:43
PotentialToCompressibleNavierStokesOperation(PotentialToCompressibleNavierStokesOperation const &rOther)
Copy constructor.
KRATOS_CLASS_POINTER_DEFINITION(PotentialToCompressibleNavierStokesOperation)
Pointer definition of Operation.
PotentialToCompressibleNavierStokesOperation & operator=(PotentialToCompressibleNavierStokesOperation const &rOther)=delete
Assignment operator.
~PotentialToCompressibleNavierStokesOperation() override=default
Destructor.
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21