Forum

Converting windows .mdw format to linux .mdw format

Marcelo Di Lello Di Lello Jordao, modified 2 Years ago.

Converting windows .mdw format to linux .mdw format

Youngling Post: 1 Join Date: 6/11/19 Recent Posts
1
Hi,
2
How can I convert this windows .mdw format to linux .mdw format?
3
I'm having trouble describing the wave boundary related files in linux .mdw format.
Windows format:
[Boundary]
   Name                 = East1                       
   Definition           = orientation                  
   Orientation          = east                         
   SpectrumSpec         = from file                    
   DistanceDir          = counter-clockwise            
   CondSpecAtDist       =  0.0000000e+000              
   Spectrum             = wbnd\TPAR_1c_novo.bnd         
   CondSpecAtDist       =  3.4000000e-001              
   Spectrum             = wbnd\TPAR_2c.bnd             
   CondSpecAtDist       =  5.5000001e-001 

 
Linux format:
* Boundary name, specifications, defined-by, conditions-along-boundary
*   - specifications: 1 = from-file, 2 = parametric
*   - defined-by: 1 = orientation,
*                 2 = grid-coordinates,
*                 3 = xy-coordinates
*   - conditions-along-boundary: 1 = constant, 2 = variable
'East1' 1 1 2
* Orientation
*   1 = N, 2 = NW, 3 = W, 4 = SW, 5 = S, 6 = SE, 7 = E, 8 = NE
7
?? (files.bnd and CondSpecAtDist) ??