Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids coupled simulation of vehicle and fluid tank Reply To: coupled simulation of vehicle and fluid tank

vikram chahal
Subscriber
real fluid_force_x = 10.0;
        real fluid_force_y = 0.0;
        real fluid_force_z = 0.0;
        real fluid_moment_x = 0.0;
        real fluid_moment_y = 5.0;
        real fluid_moment_z = 0.0;

 

        Thread *t;
        face_t f;
        cell_t c;

 

        /* Loop over all cells */
        begin_c_loop(c, t)
        {
showing error in step 2 for real fluid force and moments in x,y,z direction showing parse error and showinfg t as undeclared variable.
[bingo_chatbox]