Code Monkey home page Code Monkey logo

ova's Introduction

OVA (Orthogonal curvilinear coordinate Vector Analysis)

Motivation

  • In plasma physics research, vector analysis is ubiquitous but often tedious, and the cumbersomeness has even become a trait of the field.

  • The automatic symbolic derivation is necessary (at least for me).

  • Two symbolic approches towards the vector analysis in general coordinate systems have been developed.

    • GVA [1] (General Vector Analysis), by Prof. Qin in 1997, a Mathematica package. Non-normalized basis is used, which has great generality and theoretical conciseness in any well-defined coordinates. However, we prefer to normalize the basis vectors in orthogonal curvilinear coordinates as is commonly shown in textbooks and cheatsheets.
    • SymFields [2], by Dr. Chu in 2020, a python package. It is also developed for vector analysis in the general coordinates. The package normalize basis vectors in both orthogonal and non-orthogonal coordinates, which complicates the mathematics and brings inconvenience for further developments (e.g. add more supports about 2-rank tensor related calculation).

OVA

  • The OVA can only be used for symbolic vector analysis in the orthogonal coordinate system. For the vector analysis in the non-orthogonal coordinate system, I recommend to use the two general purpose vector analysis packages [1,2].
  • The OVA (Orthogonal curvilinear coordinate Vector Analysis) package has been implemented in both Python and Mathematica versions.
    • The Python version OVA is implemented using the vector analysis formulas assuming the basis normalized by the Lamé coefficients (thus can only be used in orthogonal coordinates).
    • The GVA package, originally developed by Prof. Qin in 1997, has been modified to ensure compatibility with newer versions of Mathematica, beyond version 8.0.
    • The Mathematica version of the OVA package is built upon the modified GVA package, which includes updated vector definitions and the normalization of each component using Lamé coefficients.

References

[1] Qin H et al. Symbolic vector analysis in plasma physics[J]. Computer physics communications, 1999, 116(1): 107-120.

[2] Chu N. SymFields: An Open Source Symbolic Fields Analysis Tool for General Curvilinear Coordinates in Python[C]//Proceedings of the Future Technologies Conference. Springer, Cham, 2021: 685-696.

ova's People

Contributors

ymma98 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.