Ver Fonte

Transférer les fichiers vers 'example'

Jean-Michel Batto há 2 semanas atrás
pai
commit
eeb6d2c98e

+ 7 - 2
example/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml

@@ -2845,7 +2845,9 @@ pdi:
     # trans_scal_1D_H2: { size: '($nb_levelsets + 1) * ($ny) * ($nx) + 2 * ($nx) + 2 * $ny', type: array, subtype: double } 
     # trans_scal_1D_KOH: { size: '($nb_levelsets + 1) * ($ny) * ($nx) + 2 * ($nx) + 2 * $ny', type: array, subtype: double } 
     # trans_scal_1D_H2O: { size: '($nb_levelsets + 1) * ($ny) * ($nx) + 2 * ($nx) + 2 * $ny', type: array, subtype: double } 
-
+    i_current_x: { size: '($ny) * ($nx)', type: array, subtype: double  }
+    i_current_y: { size: '($ny) * ($nx)', type: array, subtype: double  }
+    i_current_mag: { size: '($ny) * ($nx)', type: array, subtype: double  }
 
     # stored in 1D: tests
     l1_rel_error: { size: '$n_tests', type: array, subtype: double }
@@ -3604,6 +3606,9 @@ pdi:
             elec_cond_1D_py: $elec_cond_1D
             phi_ele_1D_py: $phi_ele_1D
             i_current_x_py: $i_current_x
+            i_current_x: $i_current_x
+            i_current_y: $i_current_y
+            i_current_mag: $i_current_mag
             nx_py: $nx
             ny_py: $ny
             variation_electrical_potential: $variation_electrical_potential
@@ -3911,7 +3916,7 @@ pdi:
         #     subtype: double
         #     size: ['$nx*$mpi_max_coords_x', '$ny*$mpi_max_coords_y']
         # when: "$nstep = 0"
-        write: [levelset_p,levelset_u,levelset_v,radius,nstep,time,velocity_x,velocity_y]
+        write: [levelset_p,levelset_u,levelset_v,radius,nstep,time,velocity_x,velocity_y, i_current_x, i_current_y ,i_current_mag]
         #write: [levelset_p,levelset_u,levelset_v,levelset_p_wall,radius]
 
       - file: flower_${nstep:08}.h5