Ansys Fluent: Flow Around A Mechanically Controlled Door
This video shows how to set up the simulation for a simple controlled mechanical door on a flow of water, the door can rotate around its lower extreme; so is being pushed by the water, and when its angle reaches a critical value, a torque is applied on it to return the door to its original position. , include , include DEFINESDOFPROPERTIES(Movingwall, prop, dt, time, dtime) propSDOFMASS 1. 0; propSDOFIZZ 0. 1; propSDOFZEROTRANSX TRUE; propSDOFZEROTRANSY TRUE; propSDOFZEROTRANSZ TRUE; propSDOFZEROROTX TRUE; propSDOFZEROROTY TRUE; propSDOFZEROROTZ FALSE; real ang DTTHETA(dt)2; real angvel DTOMEGACG(dt)2; real momentz 0; if ( ang GOET 4. 0 3. 1415, 9. 0 3. 1415, 2. 0) momentz 0; else if ( ang LOET 3. 1415, 9. 0 3. 1415, 2. 0) momentz 0. 8; else if (
|
|