GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


start:first_simulation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
start:first_simulation [2018/09/04 15:20]
pgrolich
start:first_simulation [2018/09/04 15:50]
pgrolich
Line 43: Line 43:
 Next we will add <​b>​point and image outputs</​b>​. This is done by menu entry //Edit parameters->​Add point output// and //Edit parameters->​Add image output// that again open dialogues for specifying how often (parameter "​skip"​) and which component should be output. Point output is collected from a single point within computational volume and is stored into a text file. Image output comes to general output file that can be opened by [[http://​gwyddion.net|Gwyddion]] open source software. A cross section in certain normal direction is output, selected as shown below. We will add a cross section in every direction, so we will call the dialog three times. Next we will add <​b>​point and image outputs</​b>​. This is done by menu entry //Edit parameters->​Add point output// and //Edit parameters->​Add image output// that again open dialogues for specifying how often (parameter "​skip"​) and which component should be output. Point output is collected from a single point within computational volume and is stored into a text file. Image output comes to general output file that can be opened by [[http://​gwyddion.net|Gwyddion]] open source software. A cross section in certain normal direction is output, selected as shown below. We will add a cross section in every direction, so we will call the dialog three times.
  
-{{:​start:​first-simulation-image-output.png?​400|}}+{{:start:​screenshots:​first-simulation-image-output.png?​400|}}
  
-Similarily we will add point output as shown below.+Similarily we will add **point output** as shown below.
  
-<img src="​http://​gsvit.net/​images_v18/​ex1_pout.png">+{{:start:​screenshots:​first-simulation-point-output.png?400|}}
  
-<p>Note that all the outputs can be also seen in 3D view window. We can adjust some more computational parameters,​ +Note that all the outputs can be also seen in 3D view window. We can adjust some more computational parameters,​ 
-here namely we will increase ​<b>number of steps</​b> ​to be calculated to 300 (clicking to any of the entries in "Basic parameters"​ group). +here namely we will increase ​**number of steps** to be calculated to 300 (clicking to any of the entries in "Basic parameters"​ group). 
-Physical length of the time step is calculated automatically on the basis of space discretisation.</p+Physical length of the time step is calculated automatically on the basis of space discretisation. 
-<img src="​http:​//gsvit.net/images_v18/ex1_steps.png">​+ 
 +{{:​start:​screenshots:​first-simulation-basic-parameters.png?​400|}} 
 + 
 +Finally we need to save the parameter file if we haven'​t done it at beginning, as since now we worked only with a temporary file or at least modified file (it is important to save it always before running computation which is not done automatically). This is done by //File->Save// command as usual. Then we can  
 +**start the computation** clicking on the arrow in the toolbar or using //Execute->​Run//​ menu command. 
 + 
 +//Hint: if we don't want to use the GUI for starting the computation we can always run GSvit manually on our parameter file.//
  
-<​p>​Finally we need to save the parameter file if we haven'​t done it at beginning, as since now we worked only with a temporary file or at least modified file 
-(it is important to save it always before running computation which is not done automatically). This is done by <​i>​File->​Save</​i>​ command as usual. Then we can  
-<​b>​start the computation</​b>​ clicking on the arrow in the toolbar or using <​i>​Execute->​Run</​i>​ menu command.</​p>​ <​p><​i>​Hint:​ if we don't want to use 
-the GUI for starting the computation we can always run GSvit manually on our parameter file.</​i></​p>​ 
 <a href="​http://​gsvit.net/​images_v18/​ex1_nonebcout.png"><​img src="​http://​gsvit.net/​images_v18/​ex1_nonebcout.png"​ width="​800"></​a>​ <a href="​http://​gsvit.net/​images_v18/​ex1_nonebcout.png"><​img src="​http://​gsvit.net/​images_v18/​ex1_nonebcout.png"​ width="​800"></​a>​
  
start/first_simulation.txt · Last modified: 2019/01/14 07:58 by pgrolich