Sie sind auf Seite 1von 3

For Meshing, create body sizing by right clicking on Mesh and then insert sizing.

Depending on the size of the bounding region, u might want to vary the element size from 0.025m to 0.075m. Make sure to indicate the wake box as the Body of influence and the enclosure as the geometry (Open the drop-down menu for the setting which indicate Element size and change to Body of influence) Insert face sizing by using the Insert Sizing option again and choose all faces of the geometry and click apply in the geometry tab. Use an element size preferably 15mm at the maximum and apply. To accurately select the faces u want, make sure Box Select is selected on the mouse button on the graphic user interface (GUI). Drag and select the faces u want and apply for the face sizing, u can also create named selections for them(if u need). Element size for the face sizing should be 15mm preferably at the max.

Create folder in hpctmp to open up workspace: (reason is because theres a quota of 4GB on the hpc desktop)
> > cd /hpctmp mkdir a0123456 # change directory to /hpctmp # create a sub-folder using your username a0123456 # remove permission for other users to prevent access # list and check the sub-folder permission # change directory to the sub-folder # print and show the absolute location

> chmod go-rwx a0123456 > > > ls -ld a0123456 cd a0123456 pwd

To access hpc subsequently:


> cd /hpctmp/a0123456 # indicate ur own folder name

Use Secure Shell Client to import file from ur own desktop to the hpctmp folder (Make sure to go to the same folder that is also accessed in the xterm window, the folder directory will be specified on the xterm window) File imported should be of the type .msh or .cas for FLUENT to read in the file. After importing the file, launch the FLUENT application by typing > fluent Read in the mesh or case file, and then do the appropriate settings. Under General, set gravity in y-direction as -9.81 ms-2.

Under Model, check the box for Energy Equation. Set k-e realizable model with non-equilibrium functions. Under Boundary Conditions, set road as 15ms-1 (or other velocity that u want specified, taking into account the direction also); set velocity-inlet with same speed as road with turbulence intensity and viscosity ratio (1% and 10 respectively); set pressure-outlet with turbulence intensity and viscosity ratio (1% and 10 respectively) Under Reference Values, compute from velocity-inlet and set reference zone as air (or whatever name defined for the whole enclosure) Under Solution Methods, set Scheme to Coupled and set Momentum to First Order Upwind. Leave the rest unchanged. Under Solution Controls, set Courant Number to 50 and explicit-relaxation factors to 0.5(feel free to change the settings as u wish if u want to test the effect of different settings or if divergence is observed) Under Monitors, set up respective monitors for the lift, drag and moment coefficient, taking into account the directions of forces and moments. For the moment center, y-coordinate is 0.33m and z-coordinate is 0.18m as according to R13 C.G. height. Moment axis is in x-dir. Initialize the solution using hybrid initialization. Write the case file to the folder in hpctmp (if mesh file was used initially, write the case file with the same name as the mesh file) To run the case file in fluent, a batch job must be sent to the hpc server first. > vi R13.flin # vi is a text editor, specify a file name to open

Type i to start typing in the editor. In the text file opened, type the following: > rc FFF.cas # or whatever the case file is named as, rc stands for read case) # initialize the case # iterate 1000 times, number specified can be higher # write case and data files (again file name can be changed as u wish)

> /solve/initialize/initialize > /solve/iterate 1000

> /file/write-case-data R13

Press escape and type :wq to save file and quit the editor. To submit the batch job: > bsub q atlas7_parallel o test1.eo n 20 fluent 3d g i R13.flin # bsub submit job

# q specify queue # o output file # n no. of cores requested Basically the whole sentence means, submit the job R13.flin to FLUENT using the queue atlas7_parallel requesting 20 processors and writing the whole output file to test1.eo. Congratulations, ur simulation has just started. THE END

Das könnte Ihnen auch gefallen