Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
heat_transfer_assemblers.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) 2021-2026 The Lethe Authors
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
3
4#ifndef lethe_heat_transfer_assemblers_h
5#define lethe_heat_transfer_assemblers_h
6
10
11#include <solvers/copy_data.h>
15
16#include <utility>
17
18/**
19 * @brief A pure virtual class that serves as an interface for all
20 * of the assemblers for heat transfer
21 *
22 * @tparam dim An integer that denotes the number of spatial dimensions
23 *
24 * @param simulation_control Shared pointer of the SimulationControl object
25 * controlling the current simulation
26 *
27 * @ingroup assemblers
28 */
29template <int dim>
32
33
34/**
35 * @brief Class that assembles the core of the heat transfer equation.
36 * This class assembles the weak form of:
37 * \f$ - k * \nabla^2 T + \rho * cp * \mathbf{u} * \nabla T - f - \tau :
38 * \nabla \mathbf{u} =0 \f$
39 *
40 * @tparam dim An integer that denotes the number of spatial dimensions
41 *
42 * @param simulation_control Shared pointer of the SimulationControl object
43 * controlling the current simulation
44 *
45 * @ingroup assemblers
46 */
47template <int dim>
49{
50public:
52 const std::shared_ptr<SimulationControl> &simulation_control)
54 {}
55
56 /**
57 * @brief assemble_matrix Assembles the matrix
58 * @param scratch_data (see base class)
59 * @param copy_data (see base class)
60 */
61 virtual void
63 StabilizedMethodsCopyData &copy_data) override;
64
65
66 /**
67 * @brief assemble_rhs Assembles the rhs
68 * @param scratch_data (see base class)
69 * @param copy_data (see base class)
70 */
71 virtual void
73 StabilizedMethodsCopyData &copy_data) override;
74
75 const std::shared_ptr<SimulationControl> simulation_control;
76};
77
78
79/**
80 * @brief Class that assembles the transient time arising from BDF time
81 * integration for the heat transfer solver.
82 *
83 * @tparam dim An integer that denotes the number of spatial dimensions
84 *
85 * @param simulation_control Shared pointer of the SimulationControl object
86 * controlling the current simulation
87 *
88 * @ingroup assemblers
89 */
90template <int dim>
92{
93public:
95 const std::shared_ptr<SimulationControl> &simulation_control)
97 {}
98
99 /**
100 * @brief assemble_matrix Assembles the matrix
101 * @param scratch_data (see base class)
102 * @param copy_data (see base class)
103 */
104
105 virtual void
107 StabilizedMethodsCopyData &copy_data) override;
108
109 /**
110 * @brief assemble_rhs Assembles the rhs
111 * @param scratch_data (see base class)
112 * @param copy_data (see base class)
113 */
114 virtual void
115 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
116 StabilizedMethodsCopyData &copy_data) override;
117
118 const bool GGLS = true;
119
120 const std::shared_ptr<SimulationControl> simulation_control;
121};
122
123
124/**
125 * @brief Class that assembles the Robin boundary condition for the heat
126 * transfer solver.
127 *
128 * @tparam dim An integer that denotes the number of spatial dimensions
129 *
130 * @param simulation_control Shared pointer of the SimulationControl object
131 * controlling the current simulation
132 * @param p_boundary_conditions_ht HeatTransferBoundaryConditions object that hold
133 * boundary condition information for the Heat-Transfer solver
134 *
135 * @ingroup assemblers
136 */
137template <int dim>
139{
140public:
142 const std::shared_ptr<SimulationControl> &simulation_control,
144 &p_boundary_conditions_ht)
146 , boundary_conditions_ht(p_boundary_conditions_ht)
147 {}
148
149 /**
150 * @brief assemble_matrix Assembles the matrix
151 * @param scratch_data (see base class)
152 * @param copy_data (see base class)
153 */
154
155 virtual void
157 StabilizedMethodsCopyData &copy_data) override;
158
159 /**
160 * @brief assemble_rhs Assembles the rhs
161 * @param scratch_data (see base class)
162 * @param copy_data (see base class)
163 */
164 virtual void
165 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
166 StabilizedMethodsCopyData &copy_data) override;
167
168 const std::shared_ptr<SimulationControl> simulation_control;
171};
172
173
174/**
175 * @brief Class that assembles the viscous dissipation for the heat transfer
176 * solver.
177 *
178 * @tparam dim An integer that denotes the number of spatial dimensions
179 *
180 * @param simulation_control Shared pointer of the SimulationControl object
181 * controlling the current simulation
182 *
183 * @ingroup assemblers
184 */
185template <int dim>
187 : public HeatTransferAssemblerBase<dim>
188{
189public:
191 const std::shared_ptr<SimulationControl> &simulation_control)
193 {}
194
195 virtual void
197 StabilizedMethodsCopyData &copy_data) override;
198
199 /**
200 * @brief assemble_rhs Assembles the rhs
201 * @param scratch_data (see base class)
202 * @param copy_data (see base class)
203 */
204 virtual void
205 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
206 StabilizedMethodsCopyData &copy_data) override;
207
208 const std::shared_ptr<SimulationControl> simulation_control;
209};
210
211
212/**
213 * @brief Class that assembles the viscous dissipation for the heat transfer
214 * solver, for the specific case of CLS simulations. The only difference
215 * compared to the regular one is that the viscous dissipation can be applied in
216 * one of the fluids rather than both, through the viscous_dissipative_fluid
217 * parameter.
218 *
219 * @tparam dim An integer that denotes the number of spatial dimensions
220 *
221 * @param simulation_control Shared pointer of the SimulationControl object
222 * controlling the current simulation
223 * @param p_viscous_dissipative_fluid A FluidIndicator enum element indicating
224 * the selected viscous dissipative fluid(s).
225 *
226 * @ingroup assemblers
227 */
228template <int dim>
230 : public HeatTransferAssemblerBase<dim>
231{
232public:
234 const std::shared_ptr<SimulationControl> &simulation_control,
235 Parameters::FluidIndicator p_viscous_dissipative_fluid)
237 , viscous_dissipative_fluid(p_viscous_dissipative_fluid)
238 {}
239
240 virtual void
242 StabilizedMethodsCopyData &copy_data) override;
243
244 /**
245 * @brief assemble_rhs Assembles the rhs
246 * @param scratch_data (see base class)
247 * @param copy_data (see base class)
248 */
249 virtual void
250 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
251 StabilizedMethodsCopyData &copy_data) override;
252
253protected:
254 const std::shared_ptr<SimulationControl> simulation_control;
256};
257
258
259/**
260 * @brief Class that assembles the Discontinuity-Capturing Directional
261 * Dissipation stabilization term for the heat transfer
262 * solver. For more information see Tezduyar, T. E. (2003). Computation of
263 * moving boundaries and interfaces and stabilization parameters. International
264 * Journal for Numerical Methods in Fluids, 43(5), 555-575. The implementation
265 * is based on equations (70) and (79), which are adapted for the heat transfer
266 * solver.
267 *
268 * @tparam dim An integer that denotes the number of spatial dimensions
269 *
270 * @param simulation_control Shared pointer of the SimulationControl object
271 * controlling the current simulation
272 *
273 * @ingroup assemblers
274 */
275
276template <int dim>
278 : public HeatTransferAssemblerBase<dim>
279{
280public:
282 const std::shared_ptr<SimulationControl> &simulation_control)
284 {}
285
286 virtual void
288 StabilizedMethodsCopyData &copy_data) override;
289
290 /**
291 * @brief assemble_rhs Assembles the rhs
292 * @param scratch_data (see base class)
293 * @param copy_data (see base class)
294 */
295 virtual void
296 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
297 StabilizedMethodsCopyData &copy_data) override;
298
299 const std::shared_ptr<SimulationControl> simulation_control;
300};
301
302
303/**
304 * @brief Class that assembles the laser heating as a volumetric source for
305 * the heat transfer solver. Exponentially decaying model is used to simulate
306 * the laser heat source: "Liu, S., Zhu, H., Peng, G., Yin, J. and Zeng, X.,
307 * 2018. Microstructure prediction of selective laser melting AlSi10Mg
308 * using finite element analysis. Materials & Design, 142, pp.319-328."
309 *
310 * @tparam dim An integer that denotes the number of spatial dimensions
311 *
312 * @param simulation_control Shared pointer of the SimulationControl object
313 * controlling the current simulation
314 * @param p_laser_parameters Shared pointer of the laser parameters
315 *
316 * @ingroup assemblers
317 */
318template <int dim>
320 : public HeatTransferAssemblerBase<dim>
321{
322public:
324 const std::shared_ptr<SimulationControl> &simulation_control,
325 std::shared_ptr<Parameters::Laser<dim>> p_laser_parameters)
327 , laser_parameters(std::move(p_laser_parameters))
328 {}
329
330 /**
331 * @brief assemble_matrix Assembles the matrix
332 * @param scratch_data (see base class)
333 * @param copy_data (see base class)
334 */
335
336 virtual void
338 StabilizedMethodsCopyData &copy_data) override;
339
340 /**
341 * @brief assemble_rhs Assembles the rhs
342 * @param scratch_data (see base class)
343 * @param copy_data (see base class)
344 */
345 virtual void
346 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
347 StabilizedMethodsCopyData &copy_data) override;
348
349protected:
350 const std::shared_ptr<SimulationControl> simulation_control;
351 std::shared_ptr<Parameters::Laser<dim>> laser_parameters;
352};
353
354
355/**
356 * @brief Class that assembles the laser heating as a surface flux for the
357 * heat transfer solver when CLS is enabled. The laser heat flux is
358 * applied at the CLS interface (where the phase gradient is non-null).
359 *
360 * @tparam dim An integer that denotes the number of spatial dimensions
361 *
362 * @param simulation_control Shared pointer of the SimulationControl object
363 * controlling the current simulation
364 * @param p_laser_parameters Shared pointer of the laser parameters
365 *
366 * @ingroup assemblers
367 */
368template <int dim>
370 : public HeatTransferAssemblerBase<dim>
371{
372public:
374 const std::shared_ptr<SimulationControl> &simulation_control,
375 std::shared_ptr<Parameters::Laser<dim>> p_laser_parameters)
377 , laser_parameters(std::move(p_laser_parameters))
378 {}
379
380 /**
381 * @brief assemble_matrix Assembles the matrix
382 * @param scratch_data (see base class)
383 * @param copy_data (see base class)
384 */
385 virtual void
387 StabilizedMethodsCopyData &copy_data) override;
388
389 /**
390 * @brief assemble_rhs Assembles the rhs
391 * @param scratch_data (see base class)
392 * @param copy_data (see base class)
393 */
394 virtual void
395 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
396 StabilizedMethodsCopyData &copy_data) override;
397
398protected:
399 const std::shared_ptr<SimulationControl> simulation_control;
400 std::shared_ptr<Parameters::Laser<dim>> laser_parameters;
401};
402
403
404/**
405 * @brief Class that assembles the laser heating as a uniform surface flux for
406 * the heat transfer solver when CLS is enabled. The laser heat flux is
407 * applied at the CLS interface (where the phase gradient is non-null).
408 *
409 * @tparam dim An integer that denotes the number of spatial dimensions
410 *
411 * @param simulation_control Shared pointer of the SimulationControl object
412 * controlling the current simulation
413 * @param p_laser_parameters Shared pointer of the laser parameters
414 *
415 * @ingroup assemblers
416 */
417template <int dim>
419 : public HeatTransferAssemblerBase<dim>
420{
421public:
423 const std::shared_ptr<SimulationControl> &simulation_control,
424 std::shared_ptr<Parameters::Laser<dim>> p_laser_parameters)
426 , laser_parameters(std::move(p_laser_parameters))
427 {}
428
429 /**
430 * @brief assemble_matrix Assembles the matrix
431 * @param scratch_data (see base class)
432 * @param copy_data (see base class)
433 */
434 virtual void
436 StabilizedMethodsCopyData &copy_data) override;
437
438 /**
439 * @brief assemble_rhs Assembles the rhs
440 * @param scratch_data (see base class)
441 * @param copy_data (see base class)
442 */
443 virtual void
444 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
445 StabilizedMethodsCopyData &copy_data) override;
446
447protected:
448 const std::shared_ptr<SimulationControl> simulation_control;
449 std::shared_ptr<Parameters::Laser<dim>> laser_parameters;
450};
451
452
453/**
454 * @brief Class that assembles the laser heating as a volumetric source for
455 * the heat transfer solver when CLS is enabled. Exponentially decaying model is
456 * used to simulate the laser heat source: "Liu, S., Zhu, H., Peng, G.,
457 * Yin, J. and Zeng, X., 2018. Microstructure prediction of selective
458 * laser melting AlSi10Mg using finite element analysis. Materials &
459 * Design, 142, pp.319-328." The laser heat source is only applied in the metal
460 * (when phase value is non-null) using the phase value alpha as a multiplying
461 * factor on the laser heat source.
462 *
463 * @tparam dim An integer that denotes the number of spatial dimensions
464 *
465 * @param simulation_control Shared pointer of the SimulationControl object
466 * controlling the current simulation
467 * @param p_laser_parameters Shared pointer of the laser parameters
468 *
469 * @ingroup assemblers
470 */
471template <int dim>
473 : public HeatTransferAssemblerBase<dim>
474{
475public:
477 const std::shared_ptr<SimulationControl> &simulation_control,
478 std::shared_ptr<Parameters::Laser<dim>> p_laser_parameters)
480 , laser_parameters(std::move(p_laser_parameters))
481 {}
482
483 /**
484 * @brief assemble_matrix Assembles the matrix
485 * @param scratch_data (see base class)
486 * @param copy_data (see base class)
487 */
488 virtual void
490 StabilizedMethodsCopyData &copy_data) override;
491
492 /**
493 * @brief assemble_rhs Assembles the rhs
494 * @param scratch_data (see base class)
495 * @param copy_data (see base class)
496 */
497 virtual void
498 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
499 StabilizedMethodsCopyData &copy_data) override;
500
501protected:
502 const std::shared_ptr<SimulationControl> simulation_control;
503 std::shared_ptr<Parameters::Laser<dim>> laser_parameters;
504};
505
506
507/**
508 * @brief Class that assembles the radiation sink for the heat
509 * transfer solver at the free surface (air/metal interface) when CLS and the
510 * laser are active. The phase gradient of the CLS solver is used to transform
511 * radiative boundary condition at free surface into a volumetric sink at the
512 * air/metal interface: "Tao Yu, Jidong Zhao,Semi-coupled resolved CFD–DEM
513 * simulation of powder-based selective laser melting for additive
514 * manufacturing, Computer Methods in Applied Mechanics and Engineering, Volume
515 * 377, 2021, 113707, ISSN 0045-7825,
516 * https://doi.org/10.1016/j.cma.2021.113707."
517 *
518 * @tparam dim An integer that denotes the number of spatial dimensions
519 *
520 * @param simulation_control Shared pointer of the SimulationControl object
521 * controlling the current simulation
522 * @param p_laser_parameters Shared pointer of the laser parameters
523 *
524 * @ingroup assemblers
525 */
526template <int dim>
528 : public HeatTransferAssemblerBase<dim>
529{
530public:
532 const std::shared_ptr<SimulationControl> &simulation_control,
533 std::shared_ptr<Parameters::Laser<dim>> p_laser_parameters)
535 , laser_parameters(std::move(p_laser_parameters))
536 {}
537
538 /**
539 * @brief assemble_matrix Assembles the matrix
540 * @param scratch_data (see base class)
541 * @param copy_data (see base class)
542 */
543 virtual void
545 StabilizedMethodsCopyData &copy_data) override;
546
547 /**
548 * @brief assemble_rhs Assembles the rhs
549 * @param scratch_data (see base class)
550 * @param copy_data (see base class)
551 */
552 virtual void
553 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
554 StabilizedMethodsCopyData &copy_data) override;
555
556protected:
557 const std::shared_ptr<SimulationControl> simulation_control;
558 std::shared_ptr<Parameters::Laser<dim>> laser_parameters;
559};
560
561
562/**
563 * @brief Class that assembles the evaporation sink for the heat
564 * transfer solver at the free surface (air/metal interface) when CLS is
565 * enabled.
566 *
567 * @tparam dim An integer that denotes the number of spatial dimensions.
568 *
569 * @param simulation_control Shared pointer of the SimulationControl object
570 * controlling the current simulation.
571 * @param p_evaporation Struct that holds all evaporation model
572 * parameters.
573 * @ingroup assemblers.
574 */
575template <int dim>
577 : public HeatTransferAssemblerBase<dim>
578{
579public:
581 const std::shared_ptr<SimulationControl> &simulation_control,
582 const Parameters::Evaporation &p_evaporation)
584 {
585 this->evaporation_model = EvaporationModel::model_cast(p_evaporation);
586 }
587
588 /**
589 * @brief assemble_matrix Assembles the matrix
590 * @param scratch_data (see base class)
591 * @param copy_data (see base class)
592 */
593 virtual void
595 StabilizedMethodsCopyData &copy_data) override;
596
597 /**
598 * @brief assemble_rhs Assembles the rhs
599 * @param scratch_data (see base class)
600 * @param copy_data (see base class)
601 */
602 virtual void
603 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
604 StabilizedMethodsCopyData &copy_data) override;
605
606private:
607 const std::shared_ptr<SimulationControl> simulation_control;
608
609 // Evaporation model
610 std::shared_ptr<EvaporationModel> evaporation_model;
611};
612
613
614/**
615 * @brief Class that assembles the time average electromagnetic heating for the heat transfer solver when the time-harmonic Maxwell solver is enabled. The electromagnetic heating is applied as a volumetric source term in the heat equation, and is calculated as
616 \f$ Q = 1/2(\sigma |E|^2 + \omega \varepsilon_0 \varepsilon_i |E|^2 + \omega
617 \mu_0 \mu_i |H|^2 ) \f$
618 * @tparam dim An integer that denotes the number of spatial dimensions.
619 *
620 * @param simulation_control Shared pointer of the SimulationControl object
621 * controlling the current simulation.
622 * @param p_time_harmonic_maxwell Struct that holds all time-harmonic Maxwell model
623 * parameters.
624 * @ingroup assemblers.
625 */
626template <int dim>
628
629 : public HeatTransferAssemblerBase<dim>
630{
631public:
633 const std::shared_ptr<SimulationControl> &simulation_control,
634 const Parameters::TimeHarmonicMaxwell<dim> &time_harmonic_maxwell,
635 const Parameters::Dimensionality &dimensionality)
637 , angular_frequency(2. * numbers::PI *
638 (time_harmonic_maxwell.electromagnetic_frequency /
639 dimensionality.electromagnetic_frequency_scaling *
640 dimensionality.time))
641 , vacuum_permittivity(8.854187817e-12 *
642 dimensionality.vacuum_permittivity_scaling)
643 , vacuum_permeability(4. * numbers::PI * 1e-7 *
644 dimensionality.vacuum_permeability_scaling)
645 {}
646
647 /**
648 * @brief assemble_matrix Assembles the matrix
649 * @param scratch_data (see base class)
650 * @param copy_data (see base class)
651 */
652 virtual void
654 StabilizedMethodsCopyData &copy_data) override;
655
656 /**
657 * @brief assemble_rhs Assembles the rhs
658 * @param scratch_data (see base class)
659 * @param copy_data (see base class)
660 */
661 virtual void
662 assemble_rhs(const HeatTransferScratchData<dim> &scratch_data,
663 StabilizedMethodsCopyData &copy_data) override;
664
665protected:
666 const std::shared_ptr<SimulationControl> simulation_control;
667 const double angular_frequency;
670};
671
672#endif
This class manages the boundary conditions for Heat-Transfer solver It introduces the boundary functi...
static std::shared_ptr< EvaporationModel > model_cast(const Parameters::Evaporation &evaporation_parameters)
Instantiates and returns a pointer to an EvaporationModel object by casting it to the proper child cl...
const std::shared_ptr< SimulationControl > simulation_control
HeatTransferAssemblerBDF(const std::shared_ptr< SimulationControl > &simulation_control)
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
const std::shared_ptr< SimulationControl > simulation_control
HeatTransferAssemblerCLSEvaporation(const std::shared_ptr< SimulationControl > &simulation_control, const Parameters::Evaporation &p_evaporation)
std::shared_ptr< EvaporationModel > evaporation_model
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
const std::shared_ptr< SimulationControl > simulation_control
HeatTransferAssemblerCore(const std::shared_ptr< SimulationControl > &simulation_control)
const std::shared_ptr< SimulationControl > simulation_control
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
Assemble the matrix.
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
HeatTransferAssemblerDCDDstabilization(const std::shared_ptr< SimulationControl > &simulation_control)
std::shared_ptr< Parameters::Laser< dim > > laser_parameters
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
const std::shared_ptr< SimulationControl > simulation_control
HeatTransferAssemblerFreeSurfaceRadiationCLS(const std::shared_ptr< SimulationControl > &simulation_control, std::shared_ptr< Parameters::Laser< dim > > p_laser_parameters)
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
std::shared_ptr< Parameters::Laser< dim > > laser_parameters
HeatTransferAssemblerLaserExponentialDecayCLS(const std::shared_ptr< SimulationControl > &simulation_control, std::shared_ptr< Parameters::Laser< dim > > p_laser_parameters)
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
const std::shared_ptr< SimulationControl > simulation_control
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
std::shared_ptr< Parameters::Laser< dim > > laser_parameters
HeatTransferAssemblerLaserExponentialDecay(const std::shared_ptr< SimulationControl > &simulation_control, std::shared_ptr< Parameters::Laser< dim > > p_laser_parameters)
const std::shared_ptr< SimulationControl > simulation_control
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
const std::shared_ptr< SimulationControl > simulation_control
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
HeatTransferAssemblerLaserGaussianHeatFluxCLSInterface(const std::shared_ptr< SimulationControl > &simulation_control, std::shared_ptr< Parameters::Laser< dim > > p_laser_parameters)
std::shared_ptr< Parameters::Laser< dim > > laser_parameters
const std::shared_ptr< SimulationControl > simulation_control
HeatTransferAssemblerLaserUniformHeatFluxCLSInterface(const std::shared_ptr< SimulationControl > &simulation_control, std::shared_ptr< Parameters::Laser< dim > > p_laser_parameters)
std::shared_ptr< Parameters::Laser< dim > > laser_parameters
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
const std::shared_ptr< SimulationControl > simulation_control
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
HeatTransferAssemblerMicrowaveHeatingTimeHarmonicMaxwell(const std::shared_ptr< SimulationControl > &simulation_control, const Parameters::TimeHarmonicMaxwell< dim > &time_harmonic_maxwell, const Parameters::Dimensionality &dimensionality)
const std::shared_ptr< SimulationControl > simulation_control
const BoundaryConditions::HeatTransferBoundaryConditions< dim > & boundary_conditions_ht
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_matrix Assembles the matrix
HeatTransferAssemblerRobinBC(const std::shared_ptr< SimulationControl > &simulation_control, const BoundaryConditions::HeatTransferBoundaryConditions< dim > &p_boundary_conditions_ht)
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
Assemble the matrix.
HeatTransferAssemblerViscousDissipationCLS(const std::shared_ptr< SimulationControl > &simulation_control, Parameters::FluidIndicator p_viscous_dissipative_fluid)
const std::shared_ptr< SimulationControl > simulation_control
virtual void assemble_rhs(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
assemble_rhs Assembles the rhs
virtual void assemble_matrix(const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
Assemble the matrix.
const std::shared_ptr< SimulationControl > simulation_control
HeatTransferAssemblerViscousDissipation(const std::shared_ptr< SimulationControl > &simulation_control)
Class that stores the information required by the assembly procedure for a heat transfer advection-di...
Class used to rescale physical properties for cases where the main dimensions of the problems (Length...
Laser parameters - Defines the parameters for the laser heat source.
Base class for assembler objects of physics and subequations.
Class responsible for storing the information calculated using the assembly of stabilized scalar equa...
Definition copy_data.h:67
PhysicsAssemblerBase< HeatTransferScratchData< dim >, StabilizedMethodsCopyData > HeatTransferAssemblerBase
A pure virtual class that serves as an interface for all of the assemblers for heat transfer.
FluidIndicator
Class to account for different fluid indicators. This is used for multiphase simulations in PostProce...
Definition parameters.h:75
Simulation control classes for managing time-stepping and iteration control in Lethe.
Evaporation - Defines the subparameters for the evaporation cooling and recoil pressure at the free s...
TimeHarmonicMaxwell - Defines the parameters for time-harmonic Maxwell simulations.