Ansys Learning Forum › Forums › Discuss Simulation › Fluids › coupled simulation of vehicle and fluid tank › Reply To: coupled simulation of vehicle and fluid tank
		
		
				
		
		
		
		
		
		
		
			March 4, 2024 at 8:00 am		
	
			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.