| Class | OpenFoamBoundary |
| In: |
bc.rb
|
| Parent: | Object |
OpenFOAM boundary class initialize with: OpenFoamBoundary( "INLET", xvel, yvel, zvel, k **for k-epsilon model**, epsilon) for pressure boundary: OpenFoamBoundary( "OUTLET", p *pressure* )
| bcno | [RW] | |
| bctype | [RW] | |
| changed | [RW] | |
| defaultprefix | [RW] | |
| epsilon | [RW] | |
| face | [RW] | |
| info | [RW] | |
| k | [RW] | |
| p | [RW] | |
| ref | [RW] | |
| reflist | [RW] | |
| reforder | [RW] | |
| row | [RW] | |
| selected | [RW] | |
| visible | [RW] | |
| xvel | [RW] | |
| yvel | [RW] | |
| zvel | [RW] |
# File bc.rb, line 35 def initialize(*args) @bctype = args[0] @defaultprefix = "bc" @info = [ self, self, "bc#{@@count}"] puts "openfoamboundary with info[2]= #{@info[2]}" @selected = false case @bctype when "INLET" @xvel, @yvel, @zvel, @k, @epsilon = args[1,5] @reforder = [ "bctype", "xvel", "yvel", "zvel", "k", "epsilon" ] when "OUTLET" @p = args[1] @reforder = [ "bctype", "p" ] end @@bcno += 1 @@count += 1 update end