Skip to content

Commit f848e90

Browse files
committed
periodic z BCs
1 parent b5b95bd commit f848e90

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

examples/ideal_MHD_alfven_fluxo.m

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
I_Mesh('YMIN') = -1.0; I_Mesh('YMAX') = 1.0;
1515
I_Mesh('ZMIN') = -1.0; I_Mesh('ZMAX') = 1.0;
1616

17-
I_TI('final_time') = 125;
17+
I_TI('final_time') = 25; %125
1818
I_TI('cfl') = 0.4;
1919

2020
dt = I_TI('cfl') * 2.0 / double(I_Mesh('NODES_Y'));
@@ -45,8 +45,12 @@
4545
I_Tech('optimizations') = ' -cl-mad-enable -cl-no-signed-zeros -cl-finite-math-only';
4646
end
4747

48-
I_RunOps('periodic') = 'USE_PERIODIC'; % 'NONE', 'USE_PERIODIC'; must be set to 'USE_PERIODIC'
49-
% if periodic boundary conditions should be used
48+
I_RunOps('periodic_x') = 'NONE'; % 'NONE', 'USE_PERIODIC_X'; must be set to 'USE_PERIODIC_X'
49+
% if periodic boundary conditions in x-direction should be used
50+
I_RunOps('periodic_y') = 'NONE'; % 'NONE', 'USE_PERIODIC_Y'; must be set to 'USE_PERIODIC_Y'
51+
% if periodic boundary conditions in y-direction should be used
52+
I_RunOps('periodic_z') = 'USE_PERIODIC_Z'; % 'NONE', 'USE_PERIODIC_Z'; must be set to 'USE_PERIODIC_Z'
53+
% if periodic boundary conditions in z-direction should be used
5054

5155
I_RunOps('order') = 6; I_RunOps('operator_form') = 'classical'; % order: 2, 4, 6; operator_form: classical, extended
5256
I_RunOps('conservation_laws') = 'ideal_MHD';

0 commit comments

Comments
 (0)