An objective function corresponding to the mixing of a passive scalar  \( F = \frac{1}{|\Omega_{obj}|}\int_{\Omega_{obj}}
 \frac{1}{2}\left(\phi - \phi_{ref}\right)^2 d\Omega, \).  
 | 
| type   | scalar_mixing_objective_t | 
|   | An objective function corresponding to the mixing of a passive scalar  \( F = \frac{1}{|\Omega_{obj}|}\int_{\Omega_{obj}}
 \frac{1}{2}\left(\phi - \phi_{ref}\right)^2 d\Omega, \).  More...
  | 
|   | 
◆ scalar_mixing_init_json_sim()
      
        
          | subroutine scalar_mixing_objective::scalar_mixing_init_json_sim  | 
          ( | 
          class(scalar_mixing_objective_t), intent(inout)  | 
          this,  | 
        
        
           | 
           | 
          type(json_file), intent(inout)  | 
          json,  | 
        
        
           | 
           | 
          class(design_t), intent(in)  | 
          design,  | 
        
        
           | 
           | 
          type(simulation_t), intent(inout), target  | 
          simulation  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | this | The object  | 
    | json | The JSON subdictionary corresponding to your objective  | 
    | design | The design  | 
    | simulation | The simulation  | 
  
   
Definition at line 109 of file scalar_mixing_objective_function.f90.