GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


docs:gsvit_inputs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
docs:gsvit_inputs [2015/07/17 21:22]
pklapetek created
docs:gsvit_inputs [2015/07/17 22:19]
pklapetek
Line 1: Line 1:
 +
 +===== GSvit input files =====
 +
 +As an input for GSvit, plain text files are used. The most important one
 +is the parameter file (*.par) which controls all the calculation (number of steps,
 +computational domain sources, etc.). Some additional files can be used e.g. for
 +specifying the geometry of material inside computational domain.
 +
 +Here follows the documentation for last stable release:
 +
 +<​html>​
 <​h3>​Parameter file description</​h3> ​ <​h3>​Parameter file description</​h3> ​
 <​b>​Main computation settings</​b>​ <​b>​Main computation settings</​b>​
Line 14: Line 25:
 200 200 200 1e-6 1e-6 1e-6 200 200 200 1e-6 1e-6 1e-6
 </tt> </tt>
 +<​br><​br>​
  
 <​p><​b>​COMP</​b><​br>​ <​p><​b>​COMP</​b><​br>​
Line 23: Line 35:
 </tt> </tt>
  
 +<​br><​br>​
 <​p><​b>​THREADS</​b><​br>​ <​p><​b>​THREADS</​b><​br>​
 <​i>​nthreads</​i><​br>​ <​i>​nthreads</​i><​br>​
Line 35: Line 48:
 </tt> </tt>
  
 +<​br><​br>​
 <​p><​b>​MATMODE_CHECK</​b><​br>​ <​p><​b>​MATMODE_CHECK</​b><​br>​
 <​i>​0/​1</​i><​br>​ <​i>​0/​1</​i><​br>​
Line 48: Line 62:
 </tt> </tt>
  
 +<​br><​br>​
 <​p><​b>​MEDIUM_LINEAR</​b><​br>​ <​p><​b>​MEDIUM_LINEAR</​b><​br>​
 <​i>​filename</​i><​br>​ <​i>​filename</​i><​br>​
Line 58: Line 73:
 </p> </p>
  
 +<​br><​br>​
 <​p><​b>​MEDIUM_VECTOR</​b><​br>​ <​p><​b>​MEDIUM_VECTOR</​b><​br>​
 <​i>​filename</​i><​br>​ <​i>​filename</​i><​br>​
Line 260: Line 276:
 </ul> </ul>
  
 +<​br><​br>​
 <​p><​b>​BOUNDARY_X0/​BOUNDARY_XN/​BOUNDARY_Y0/​BOUNDARY_YN/​BOUNDARY_Z0/​BOUNDARY_ZN</​b><​br>​ <​p><​b>​BOUNDARY_X0/​BOUNDARY_XN/​BOUNDARY_Y0/​BOUNDARY_YN/​BOUNDARY_Z0/​BOUNDARY_ZN</​b><​br>​
 <​i>​type</​i><​br>​ <​i>​type</​i><​br>​
Line 265: Line 282:
 Some combinations may lead to instabilities,​ e.g. corner of cpml and liao region. Some combinations may lead to instabilities,​ e.g. corner of cpml and liao region.
  
 +<​br><​br>​
 <​p><​b>​MBOUNDARY_X0/​MBOUNDARY_XN/​MBOUNDARY_Y0/​MBOUNDARY_YN/​MBOUNDARY_Z0/​MBOUNDARY_ZN</​b><​br>​ <​p><​b>​MBOUNDARY_X0/​MBOUNDARY_XN/​MBOUNDARY_Y0/​MBOUNDARY_YN/​MBOUNDARY_Z0/​MBOUNDARY_ZN</​b><​br>​
 <​i>​type position</​i><​br>​ <​i>​type position</​i><​br>​
Line 325: Line 343:
 <​p><​i>​Note that this option is not supported for direct editing by XSvit in this version</​i></​p>​ <​p><​i>​Note that this option is not supported for direct editing by XSvit in this version</​i></​p>​
  
 +<​br><​br>​
 <​p><​b>​MEDIUM_SMOOTH</​b><​br>​ <​p><​b>​MEDIUM_SMOOTH</​b><​br>​
 <​i>​unused_integer_parameter</​i><​br>​ <​i>​unused_integer_parameter</​i><​br>​
Line 351: Line 370:
 Theta and phi equal to zero correspond to x-direction electric field point source.</​p>​ Theta and phi equal to zero correspond to x-direction electric field point source.</​p>​
  
 +<​br><​br>​
 <​p><​b>​SOURCE_TSF</​b><​br>​ <​p><​b>​SOURCE_TSF</​b><​br>​
 <​i>​i_start j_start k_start i_end j_end k_end theta phi psi mode (filename, values)</​i><​br>​ <​i>​i_start j_start k_start i_end j_end k_end theta phi psi mode (filename, values)</​i><​br>​
Line 369: Line 389:
 some typical useful values of parameters:</​p>​ some typical useful values of parameters:</​p>​
 <table border="​1">​ <table border="​1">​
-<​tr><​th>​direction</​th><​th>​polarisation</​th><​th>​theta [deg]</​th><​th>​phi [deg]</​th><​th>​psi [deg]</​th><​th rowspan=7><​img src="​images/​tsf.png"></​th></​tr>​+<​tr><​th>​direction</​th><​th>​polarisation</​th><​th>​theta [deg]</​th><​th>​phi [deg]</​th><​th>​psi [deg]</​th><​th rowspan=7><​img src="http://​gsvit.net/​images/​tsf.png"></​th></​tr>​
 <​tr><​td>​x axis</​td><​td>​y</​td><​td>​90</​td><​td>​0</​td><​td>​0</​td></​tr>​ <​tr><​td>​x axis</​td><​td>​y</​td><​td>​90</​td><​td>​0</​td><​td>​0</​td></​tr>​
 <​tr><​td>​x axis</​td><​td>​z</​td><​td>​90</​td><​td>​0</​td><​td>​90</​td></​tr>​ <​tr><​td>​x axis</​td><​td>​z</​td><​td>​90</​td><​td>​0</​td><​td>​90</​td></​tr>​
Line 518: Line 538:
 <​p>​Note that Gwyddion shows data with top-left corner being center of coordinates,​ <​p>​Note that Gwyddion shows data with top-left corner being center of coordinates,​
 orientation of axes on what is seen in Gwyddion is show below</​p>​ orientation of axes on what is seen in Gwyddion is show below</​p>​
-<img src="​images/​out.png">​+<img src="http://​gsvit.net/​images/​out.png">​
  
 <​p><​b>​OUT_SUM</​b><​br>​ <​p><​b>​OUT_SUM</​b><​br>​
Line 553: Line 573:
 directly by e.g. <a href="​http://​paraview.org">​Paraview</​a>​ as shown below where a slice of absorption directly by e.g. <a href="​http://​paraview.org">​Paraview</​a>​ as shown below where a slice of absorption
 volume of 100x100x100 voxels is visualised (here you can check also data loading parameters for Paraview).<​br>​ volume of 100x100x100 voxels is visualised (here you can check also data loading parameters for Paraview).<​br>​
-<a href="​images/​sv_paraview.png"><​img src="​images/​sv_paraview.png"​ width="​500"></​a>​+<a href="​images/​sv_paraview.png"><​img src="http://​gsvit.net/​images/​sv_paraview.png"​ width="​500"></​a>​
 </p> </p>
  
Line 692: Line 712:
 <​p><​i>​0-4</​i></​p>​ <​p><​i>​0-4</​i></​p>​
 <​p>​Set text output (step by step), from full (4) to silent mode (0).</​p>​ <​p>​Set text output (step by step), from full (4) to silent mode (0).</​p>​
 +
 +</​html>​
  
docs/gsvit_inputs.txt ยท Last modified: 2023/08/06 15:05 by pklapetek