Beispiel #1
0
 protected RasModel()
 {
     this.Key    = "RAS";
     turbulence  = SwitchType.on;
     printCoeffs = SwitchType.on;
     coeffs      = DictEntry.Root("coeffs", new SubDictItem());
 }
Beispiel #2
0
 public FvSchemes()
 {
     _ddtSchemes           = DictEntry.Root("ddtSchemes");
     _gradSchemes          = DictEntry.Root("gradSchemes");
     _divSchemes           = DictEntry.Root("divSchemes");
     _laplacianSchemes     = DictEntry.Root("laplacianSchemes");
     _interpolationSchemes = DictEntry.Root("interpolationSchemes");
     _snGradSchemes        = DictEntry.Root("snGradSchemes");
 }
Beispiel #3
0
 public FvSolution(Solution solution)
 {
     _solvers    = DictEntry.Root("solvers");
     _relaxation = new RelaxationFactors();
     _solution   = solution;
 }
 public void AddPropertie(string name, ScalerVar propertie)
 {
     _properties.Remove(name);
     _properties.Add(DictEntry.Root(name, new DictItem(propertie)));
 }
Beispiel #5
0
 public virtual void AddContent(string key, object obj)
 {
     RemoveContent(key);
     content.Add(DictEntry.Root(key, new DictItem(obj)));
 }