dmishe |
May 17, 2011 05:19 |
ACRi ANSWER analogs for 2d room air modelling
Hello,
For my school project i need very basic 2d room airflow and gas concentration simulations, i can use some opensource software and my own GUI wrapper for it, so i'm looking for something very simple and easy to script.
So far i like ANSWER package for it's nice syntax - all you have to do is put a couple of lines and it just works :)
Code:
/==== PROBLEM IDENTIFICATION ====/
TITLe test
USER Dmitry
COOR X MIN 0 MAX +20
COOR Y MIN 0 MAX 12
GRID which 42 by 26
LOCA ID=LLC COOR(0, 0) to (3, 3)
LOCA ID=ULC COOR(0, 9) to (3, 12)
LOCA ID=MB1 COOR(6, 0) to (9, 5)
BLOCK ID=LLC
BLOCK ID=ULC
BLOCK ID=MB1
LOCA ID=INLET COOR(0, 5) to (1, 8)
LOCA ID=OUTLET COOR(19, 2) to (20, 6)
LOCA ID=SOURCE COOR(5, 5) to (6, 6)
OUTL at X+ SubRegion ID=OUTLET;1.0
BOUN AT ID=INLET X- U=0.5
INLE AT ID=INLET X-
WALL at everywhere unless otherwise specified
DENS 0.86
VISC 0.01
SCHMIDT NUMBER FOR C=1
SOUR C ID=SOURCE CONSTANT 0.01
SAVE U V SPEED C 'indoor.save' FORMatted
CONV C 1.0E-6 MAX 5 ITERATIONS
SOLVe STEADY Nmax=500
/==== NATURE OF FLOW ====/
LAMInar flow
END
So my question - is there anything like answer but free?
Or maybe there's something designed specifically to my task (2d room flow)
thanks
|