Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

Is there anyone who is familiar with Airpak3.0 model file format

asked 2014-10-28 09:11:35 -0600

yongqingzhao's avatar

updated 2015-07-11 09:45:21 -0600

I want to develop a application that can convert the dxf file to airpak3.0 model file using C++.And I find that airpak3.0 model file is a TEXT file,which is organized as a certain format.But I can not understand it.Is there anyone that is familiar with it,or is there any information about it?

Below is a sample for Airpak3.0 model file

    #@ Airpak 3.0.16 model file

object domain room.1
    current_genus default
    shape body_shape shape_hexa
        setval point1 {-500 -440 0} point2 {460 425 400} diff {960 865 400} volume_flag {2} diff_flag {0} 
    end shape
    current_stype hexa
    creation_order 1
    grid_priority 0
end object
object block block.1
    current_stype polygon
    block_type hollow
    shape body_shape shape_polygon
        setval nverts 28
        setval volume_flag {0} split_flag {0} changes {0} nverts {28} plane {2} height {97.8}  vert1 {-200.7 -98.8 0} vert2 {-201.2 -105.3 0} vert3 {-197.4 -105.6 0} vert4 {-197.3 -104.8 0} vert5 {-190.7 -105.2 0} vert6 {-190.9 -110.1 0} vert7 {-195.4 -109.8 0} vert8 {-196.3 -122.1 0} vert9 {-189.5 -122.6 0} vert10 {-189.2 -120.4 0} vert11 {-179.3 -121 0} vert12 {-178.3 -107.4 0} vert13 {-169.2 -108.1 0} vert14 {-170.2 -121.6 0} vert15 {-160.1 -122.2 0} vert16 {-160.3 -124.8 0} vert17 {-153.6 -125.3 0} vert18 {-152.7 -112.9 0} vert19 {-157.1 -112.6 0} vert20 {-156.9 -107.8 0} vert21 {-150 -108.3 0} vert22 {-150.1 -109.1 0} vert23 {-146.3 -109.4 0} vert24 {-145.8 -102.9 0} vert25 {-147.9 -102.7 0} vert26 {-147.7 -100.5 0} vert27 {-198.5 -96.8 0} vert28 {-198.6 -99 0}
    end shape
    grid_priority 2
    creation_order 1
    current_genus default
end object

object opening opening.1
    xvecf 1
    current_stype quad
    shape body_shape shape_quad
        setval point1 {460 425 400} point2 {460 -440 0} diff {0 -865 -400} volume_flag {0} split_flag {16} plate_flag {0} diff_flag {0} plane {0} iradius {0} thickness {0} 
    end shape
    grid_priority 24
    zvecf 0
    free_magnitude 1.0
    creation_order 24
    current_genus free
    yvecf 0
end object
turb_dissipation_face_profile_on 1
    free_vely_on 1
    shape body_shape shape_quad
        setval point1 {-500 425 0} point2 {460 425 400} diff {960 0 400} volume_flag {0} split_flag {16} plate_flag {0} diff_flag {0} plane {1} iradius {0} thickness {0} 
    end shape
    ymagn_vec 1.0
    yanglef 1.0
    grid_priority 27
    zvecf 0
    free_magnitude 1.0
    xanglef 1.0
    creation_order 27
    free_velx_on 1
    yanglef_face_profile {-20.0 425 9.6974411471244 -2.5171325553033 -20.0 425 21.177469195823 -2.9890543093044 -20.0 425 34.981345427928 -3.3379939487908 -20.0 425 51.894137479488 -3.6405545142577 -20.0 425 73.099415204678 -3.92556860457 -20.0 425 100.46885212817 -4.2100614026508 -20.0 425 137.14732936919 -4.5084030113338 -20.0 425 188.85740260858 -4.8371660468896 -20.0 425 267.22089069566 -5.2209916983201 -20.0 425 400.0 -5.6084892574471}
    advanced_turb 1
    current_genus free
    xanglef_face_profile_on ...
(more)
edit retag flag offensive close merge delete

Comments

@yongqingzhao this might be difficult since Airpak has been defunct for about five years. Have you considered OpenFOAM as an alternative? There is a big user community for that tool.

jmcneill's avatar jmcneill  ( 2015-04-28 13:41:46 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-07-24 14:53:03 -0600

<necromancer answering="" old="" unanswered="" posts="">

So there is a document here, where Chapter 3 describes the files used by AirPak. The most interesting note, however, is in Section 4.3 where they note that dxf can be imported directly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2014-10-28 09:11:35 -0600

Seen: 258 times

Last updated: Jul 24 '15