Implements the lube_term_objective_t
type.
|
type | lube_term_objective_t |
| An objective function corresponding to minimum dissipation $ F = \int_\Omega |\nabla u|^2 d \Omega + K \int_Omega \frac{1}{2} \chi |\mathbf{u}|^2 d \Omega $. More...
|
|
|
subroutine | lube_term_init_json (this, json, design, simulation) |
| The common constructor using a JSON object.
|
|
subroutine | lube_term_init_attributes (this, design, simulation, weight, name, mask_name, k) |
| The actual constructor.
|
|
subroutine | lube_term_free (this) |
| Destructor.
|
|
subroutine | lube_term_update_value (this, design) |
| Compute the objective function.
|
|
subroutine | lube_term_update_sensitivity (this, design) |
| update_value the sensitivity of the objective function with respect to $\chi$
|
|
◆ lube_term_free()
◆ lube_term_init_attributes()
subroutine lube_term_objective::lube_term_init_attributes |
( |
class(lube_term_objective_t), intent(inout) |
this, |
|
|
class(design_t), intent(in) |
design, |
|
|
type(simulation_t), intent(inout), target |
simulation, |
|
|
real(kind=rp), intent(in) |
weight, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mask_name, |
|
|
real(kind=rp), intent(in) |
k |
|
) |
| |
|
private |
- Parameters
-
design | the design. |
simulation | the simulation. |
weight | the weight of the objective function. |
mask_name | the name of the mask. |
K | the coefficient for the lube term. |
Definition at line 156 of file lube_term_objective.f90.
◆ lube_term_init_json()
- Parameters
-
design | the design. |
fluid | the fluid scheme. |
adjoint | the fluid adjoint. |
Definition at line 132 of file lube_term_objective.f90.
◆ lube_term_update_sensitivity()
◆ lube_term_update_value()
- Parameters
-
design | the design. |
fluid | the fluid scheme. |
adjoint | the fluid adjoint. |
Definition at line 225 of file lube_term_objective.f90.