CAWSES (Climate And Weather of the Sun-Earth System)
Space Weather Database in Japan

Observation (CAWSESDB-J-SM0013)

Version 1.0 March 2007

(CAWSES SPACE-W Database in Japan)

Three-Dimensional Visualization and Movie Using VRML:
Method and Examples


SM0013


This DVD-ROM contains the method to use VRML (Virtual Reality Modeling Language) by Fortran and many examples of 3-dimensional visualization and 3-dimensional movie obtained from the computer simulation of the solar wind-magnetosphere interaction.

1. How to use VRML by Fortran

Three-dimensional visualization and animation movie are indispensable in order to understand 3-dimensional simulation results and their time evolution such as the earth's magnetosphere better. By appearance of the VRML (or X3D) which is only the international standard language for the Internet's 3-dimensional visualization, it would be possible to watch the 3-dimensional image as VRML file by the VRML viewer, even if people does not have 3-dimensional image processing special computers and 3-dimensional image processing special software. However, utilization and popularization of the VRML do not advance very much in present state, because there is no a convenient tool which easily makes the VRML file and also it is not easy to make the complicated VRML file.

In order to develop the method for visualizing 3-dimensional simulation result of the magnetosphere by using the VRML, we have wrestled in making the VRML file earlier by utilizing experience and knowledge cultivated for a long time for the image processing using Fortran and C language. In the computer science and technology project as the extension, we have made this manual "How to Use VRML" for the purpose of the 3-dimensional visualization of the simulation results by presenting interface subroutine packages for the VRML contents preparation by Fortran and C language.

This DVD-ROM includes all main Fortran programs and subroutine packages shown in this manual as a source program format. We are happy if it is useful for the simulation and data analysis scientists.

2. Computer Simulation and 3-Dimensional Visualization and Movie Using VRML

Three-dimensional visualization and movie are necessary in order to understand what is obtained in the 3-dimensional and global MHD simulation of the solar wind and earth's magnetosphere interaction. For example, movement and rotation of coordinate axes are a method for better understanding of configurations of 3-dimensional magnetic field lines, and 3-dimensional movie is powerful for understandings of time evolution. Appearance of the VRML has drastically changed the situation of 3-dimensional image processing and has freed 3-dimensional visualization from the special computer and the special software. Though the speed of the 3-dimensional image processing (rotation, scaling, etc.) depends on the ability of the computer, VRML viewers such as Cosmo Player make possible the image processing for everyone by using browsers such as recent Netscape and Internet Explorer.

In order to make the VRML file, we prepare the Fortran Interface Subroutine Package, and VRML file (*.wrl) is directly made from 3-dimensional simulation data using Fortran program. Though there is a difference between 2-dimension and 3-dimension, this method is similar to the method for making the PostScript image file. In the VRML viewer, there are generally "walk mode" and "examine mode". The walk mode moves the viewpoint, and the examine mode does transfer and rotation and scaling of the object. It is possible to examine more apparently the 3-dimensional structure of the magnetosphere in this way. Present important problem is large VRML, since it uses ascii file. We have also developed a method to make the 3-dimensional animation movie and store it in this DVD-ROM.

Many practical VRML examples for 3-dimensional visualization of the earth's magnetosphere which have been obtained from the global MHD simulation of interaction between the solar wind and magnetosphere by using various 3-dimensional MHD models are also presented. We are happy if many scientists are interested in the 3-dimensional visualization contents of VRML World.

3. Structure of Directory of VRML Files

The structure of directory of 3-dimensional MHD codes and VRML files in the DVD-ROM is summarized in the directory, "structure.txt". There are many kind of 3-dimensional MHD (magnetohydrodynamics) codes of magnetosphere such as a quarter model (with north-south and dawn-dusk symmetry), a half model (with IMF By and Bz components, with dipole tilt) and a full model without any symmetry. The method to use VRML includes all the subroutine packages, Fortran source program, produced VRML files and explanation for use. Some of the VRML contents of 3-dimensional MHD simulation of Earth's magnetosphere and Jovian Magnetosphere are compressed by "gzip" to present a compressed VRML file like "pxd4mde32v.hde1b300.wrl.gz", because the file size of ASCII VRML file becomes very large. So, one need to decompress the compressed the VRML files by "gzip -d file-name.gz" in order to look at them in each personal computer.

3.1. 3-Dimensional Magnetohydrodynamic (MHD) Model of Interaction between

     the Solar Wind and Earth's Magnetosphere
     ./mhdmodel    :3D MHD codes
     ./mhdmodel2   :3D MHD codes
     ./hpfja       :3D MHD codes by High Performance Fortran/JA
     ./vppfort     :3D MHD codes by Fujitsu VPP Fortran
     ./postscript  :Graphic tool by PostScript Language

3.2. Method to Use VRML (Virtual Realty Modeling Language):

     How to Use VRML by Fortran and C
     ./vrml/vrml1   :fundamental Fortran Program
     ./vrml/vrml2   :fundamental Fortran Program
     ./vrml/vrmlap  :fundamental Fortran Program and Application

3.3. Example of VRML Contents

     ./example/yinyang     :Yin-Yang grid
     ./example/grid        :Projection grid
     ./example/stelab      :STElab building
     ./example/toyotahall  :Toyata Hall of Nagoya University
     ./example/shape       :VRML contents of various shapes

3.4. VRML Contents of 3-Dimensional MHD Simulation of Earth's Magnetosphere and 
     Jovian Magnetosphere

    ./magne       :3D magnetic field lines
    ./jupiter     :Jovian magnetosphere
    ./quadrupole  :quadrupole magnetosphere
    ./eartha1     :half model with IMF By and Bz components
    ./earthb1     :quarter model with north-south and dawn-dusk symmetry
    ./earthc1     :half model with dipole tilt
    ./earthd1     :full model with IMF Bx component
    ./earthd2     :full model with IMF Bx component
    ./tokutake    :half model with IMF By and Bz components

3.5. VRML 3-Dimensional Animation Movie

   ./vrmlmovie  :3-dimensional movie of earth's magnetosphere using VRML
   ./cylinder   :Test of VRML movie of cylinder
   ./eartha2    :2003 October 24 events: cross section 
   ./eartha21   :2003 October 24 events: field lines only
   ./earthb22   :High speed solar wind of 600  km/s
   ./earthd12c  :Tilted magnetosphere for IMF rotarion in 30 min.
   ./earthd36c  :Tilted magnetosphere for IMF rotarion in 10 min.

3.6. Presentation of Topics of VRML Using PowerPoint and pdf Files panel0409-e.ppt, 
     panel0409_2-e.ppt, panel0409-e.ppt, panel0310_e.pdf et al.

Project team of "Development and standardization of the visualization tool by the VRML"

Tatsuki Ogino ( Leader ),   Maki Nakao,   Yuka Kadowaki, 
Minako Suganuma,    Manami Inayoshi,    Takahiro Tsukamoto, 
Keiichiro Fukazawa,   Dai Owaki,    Kazuhide Sawada, 
Junya Yamamoto,      Jun Torii

Acknowledgments:
Support for the production of this CAWSES Space Weather International Collaborative Research (CAWSES SPACE-W) Database in Japan was provided by the Grant-in-Aid for Publication of Scientific Research Results, the Grant-in-Aid for Scientific Research (KAKENHI) from Japan Society for the Promotion of Science (JSPS). Computing support was provided by the information Technology Center of Nagoya University.

Contacts:
Prof. Tatsuki Ogino
Solar-Terrestrial Environment Laboratory, Nagoya University
Furo-cho, Chikusa-ku, Nagoya, Aichi 464-8601, Japan 
TEL: +81-52-747-6348     FAX: +81-52-789-5891
E-mail:ogino[AT]stelab.nagoya-u.ac.jp