An Approach for Solving Three-Dimensional Fluid Dynamics Problems with Allowance for Elastic Processes