Computational Fluid Dynamics Questions and Answers – Diffusion Problem – Least-Square Gradient for Cartesian Grids

This set of Advanced Computational Fluid Dynamics Questions and Answers focuses on “Diffusion Problem – Least-Square Gradient for Cartesian Grids”.

1. Which of these statements is true?
a) The Gauss-Gradient method is a special case of the least-square gradient method
b) The least-square gradient method is a special case of the Gauss-Gradient method
c) The least-square method is not connected with the Gauss-Gradient method
d) The least-square method is suitable only for the Cartesian grids
View Answer

Answer: a
Explanation: The least-square method is a general method. This can be reduced to the Gauss-Gradient method by altering some values. It is obtained by applying the least-square method to a Cartesian grid system.

2. What is the advantage of the least-square method over the other methods?
a) Computational ease
b) Accuracy
c) Flexibility
d) Stability
View Answer

Answer: c
Explanation: The least-square method offers more flexibility over the other methods to compute gradients for choosing between the order of accuracy used and the stencil on which to work. According to the user’s ease, these two can be chosen.

3. What is the disadvantage of using the least-square method?
a) Inconsistent
b) Less convergence rate
c) Instability
d) Computational cost
View Answer

Answer: d
Explanation: The cost for the advantage of the least-square gradient methods is its high computational cost. This high computational cost is due to its separate calculation of the weighted average.
advertisement
advertisement

4. The weight used in the least-square method is a function of __________
a) twice the distance between the vertex and the centroid of the cells
b) square of the distance between the vertex and the centroid of the cells
c) inverse of the distance between the vertex and the centroid of the cells
d) the distance between the vertex and the centroid of the cells
View Answer

Answer: c
Explanation: Generally, the weight used is based on the distances. We can choose it to be the inverse of the distance between the vertex and the cell centroids. Mostly, the weight is a function of the distance between the vertex and the cell centroids.

5. In the least-square method, the gradient is computed using ___________
a) trial and error method
b) optimization method
c) weighted average
d) predictor-corrector method
View Answer

Answer: b
Explanation: The least-square method is based on an optimization procedure. This optimization carried over a function which is a function of the weight used, the gradients and the grid sizes in the x, y and z-directions.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. The gradient is found in the least-square method by solving ____________
(Note: n is the number of dimensions)
a) a system of n equations
b) a single equation
c) a system of n2 equations
d) a system of 2n equations
View Answer

Answer: a
Explanation: A set of equations with the number of equations equal to the number of dimensions is formed using some conditions. This is written in the matrix form and the matrix is solved to get the gradients.

7. The least-square method is exact when ____________
a) the system is two-dimensional
b) the system is linear
c) the system is two-dimensional
d) the system is quadratic
View Answer

Answer: b
Explanation: Unless the field where we solve the problem is linear, the solution using the least square method will not be exact. This is because the number of columns in the coefficient matrix will be more than the number of rows.
advertisement

8. While using the Cartesian grids, the coefficient matrix becomes ____________
a) a square matrix
b) an upper triangular matrix
c) a diagonal matrix
d) a lower triangular matrix
View Answer

Answer: c
Explanation: The coefficient matrix in the least-square method gives a square matrix. While substituting the required values in this square matrix for the Cartesian grids, the matrix is reduced into a diagonal one.

9. The least-square method is ____________
a) at least first-order accurate
b) at least second-order accurate
c) first-order accurate
d) second-order accurate
View Answer

Answer: a
Explanation: The accuracy of the gradient found using this method is at least first-order. This can be proved by expanding the values of the flow variable using the Taylor series. It can be of higher orders also.
advertisement

10. The diagonal elements of the coefficient matrix obtained by applying the least-square to Cartesian grids are ___________
a) the ratio of the grid sizes and the weights in the x, y, z-directions
b) the product of the grid sizes and the weights in the x, y, z-directions
c) the weights in the x, y, z-directions
d) the grid sizes in the x, y, z-directions
View Answer

Answer: d
Explanation: The coefficient matrix obtained by applying the least-square to Cartesian grids has non-zero elements only in the diagonal. These non-zero elements are Δx, Δy and Δz (the grid sizes in the x, y, z-directions).

Sanfoundry Global Education & Learning Series – Computational Fluid Dynamics.

To practice advanced questions and answers on all areas of Computational Fluid Dynamics, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.