Changeset 219:fe7cb8676e83


Ignore:
Timestamp:
Feb 16, 2011, 11:51:02 AM (13 years ago)
Author:
fnevgeny
Branch:
default
Phase:
public
Message:

Added Dreicer field.

Location:
source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/Plasma.js

    r218 r219  
    331331        },
    332332
     333        getDreicerField: function()
     334        {
     335            var n_e = this.e.getN();
     336            var T_e = this.e.getT();
     337            var lambda = this.getCoulombLog(this.e, this.e);
     338           
     339            return 4*Math.PI*lambda*n_e/T_e;
     340        },
     341       
     342
    333343        checkParameters: function()
    334344        {
  • source/entities.js

    r218 r219  
    401401        formula   : "%s1.getThomsonXsTotal()",
    402402        wikiLink  : "Thomson_cross_section"
     403    },
     404
     405    {
     406        id        : "dreicer_field",
     407        name      : "Dreicer field",
     408        dimension : "efield",
     409        nspecies  : 0,
     410        section   : "collisions",
     411        formula   : "this.plasma.getDreicerField()"
    403412    }
    404413);
Note: See TracChangeset for help on using the changeset viewer.