Forwarded from Hossein Mgh-SA
Forwarded from Hossein Mgh-SA
Modeling Helps Improve Safety in the Production of Teflon
http://www.comsol.com/story/modeling-helps-improve-safety-in-the-production-of-tef
http://www.comsol.com/story/modeling-helps-improve-safety-in-the-production-of-tef
به منظور ایجاد محیطی آسان و ماندگار جهت دسترسی به مطالب طرح شده در گروه و سایر موارد مهم آموزشی کامسول وبلاگی با کوشش مدیران گروه، وبلاگی ایجاد شده است که پیشنهاد می شود جهت دسترسی به این مطلب به آدرس اینترنتی : http://comsol-multiphysics.persianblog.ir/ مراجعه نمایید.
از دوستان گرامی خواهشمندم به منظور گسترش این طرح مطالب آموزشی مفید خود و یا پرسش و پاسخ هایی را که در گروه مطرح می شود را گرداوری کرده و برای مدیران گروه ارسال نمایید، تا به نام آن ها در وبلاگ به اشتراک گذاشته شود.
پسندیده است که مطالب ارسالی به صورت یکپارچه، کامل، و درخور بحث مورد نظر باشند.
در بالای بحث عنوان و در پایین نام نویسنده یا گردآورنده و در صورت صلاحدید، ایمیل یا شناسه کاربری تلگرام یا هر شبکۀ اجتماعی مورد نظر آورده شود.
همچنین برای مباحث ادامه دار، در ابتدای هر بحث مشخص شود که مطالب با چه قالبی ارسال خواهند شد.
از دوستان گرامی خواهشمندم به منظور گسترش این طرح مطالب آموزشی مفید خود و یا پرسش و پاسخ هایی را که در گروه مطرح می شود را گرداوری کرده و برای مدیران گروه ارسال نمایید، تا به نام آن ها در وبلاگ به اشتراک گذاشته شود.
پسندیده است که مطالب ارسالی به صورت یکپارچه، کامل، و درخور بحث مورد نظر باشند.
در بالای بحث عنوان و در پایین نام نویسنده یا گردآورنده و در صورت صلاحدید، ایمیل یا شناسه کاربری تلگرام یا هر شبکۀ اجتماعی مورد نظر آورده شود.
همچنین برای مباحث ادامه دار، در ابتدای هر بحث مشخص شود که مطالب با چه قالبی ارسال خواهند شد.
حل مشکل گرافیک در کامسول
اگر مشکل گرافیک در کامسول دارین، آخرین نسخه DirectX رو نصب کنین و بعد داخل کامسول:
Option>Preferences>Graphics
گزینه Rendering رو به DirectX تغییر بدین
اگر مشکل گرافیک در کامسول دارین، آخرین نسخه DirectX رو نصب کنین و بعد داخل کامسول:
Option>Preferences>Graphics
گزینه Rendering رو به DirectX تغییر بدین
تبدیل مدل 2D به 3D و مشاهده نتایج در مدل 3 بعدی
در Geometry یک Work Plane ایجاد کنید. سپس بر روی آن کلیک کنید و گزینه Import را نتخاب نمایید. فایل دو بعدی خود را بر روی آن صفحه وارد نمایید و گزینه Build را کلیک کنید. سپس بر روی Work Plane راست کلیک کنید و گزینه Revolve را انتخاب کنید (قابلیت Extrude کردن نیز وجود دارد) و انتخاب Build.
در Geometry یک Work Plane ایجاد کنید. سپس بر روی آن کلیک کنید و گزینه Import را نتخاب نمایید. فایل دو بعدی خود را بر روی آن صفحه وارد نمایید و گزینه Build را کلیک کنید. سپس بر روی Work Plane راست کلیک کنید و گزینه Revolve را انتخاب کنید (قابلیت Extrude کردن نیز وجود دارد) و انتخاب Build.
A number of people are getting similar issues relating to COMSOL not converging. This leads to an error message that might look like:
Failed to find a solution.
The relative residual (0.28) is greater than the relative tolerance.
Returned solution is not converged.
Messages similar to this are returned for nonlinear problems that fail to converge. Here are some possible causes and cures:
Your model is highly nonlinear. This is often the case in for instance mass transport models with fast reactions. Try to cancel some known nonlinearity in the problem and gently ramp it up with the parametric solver. For example, Stationary models with high reaction rates (high Ri), or more generally, large source terms, may result in convergence problems. You can for instance get error messages such as "No convergence, even when using the minimum damping factor", "NaN repeatedly found in solution", or "Error: Failed to find a solution".
Try to solve the problem using reduced source terms, and then gradually increase them, using the previous solution when solving, until you reach the solution to your original problem. The following approach uses the parametric solver to gradually increase the source term. COMSOL Multiphysics will now start to solve the problem using the first multiplication factor. Then, if that works, the solution will be used as the initial guess for the next parameter value. This process will continue until the last parameter value is reached. Because you specified the last parameter value to be unity, the last solution will correspond to your original problem fomulation.
Multiply the reaction (source) term (Ri) by a multiplication factor variable, for example "k".
Click the Stationary node and select the Continuation check box. Enter k for Continuation parameter.
In Parameter values, enter a range of increasing values, starting at a low value and increasing to unity, for example "1e-3 1e-2 1e-1 1".
Click Compute.
Use the time dependent solver. By making the problem time dependent, you usually get a smoother convergence. Make sure to solve the problem for large enough times, such that the solution does not vary any longer. This implies that the solution has reached steady-state. Thus, COMSOL Multiphysics has calculated the stationary solution.
Right-click the Model node and select Add Study. Select Time Dependent and click Finish.
In Times, enter a range of times to solve for, for example "0 1e3".
Click Compute.
Your boundary conditions are inconsistent, either with each other or with your initial guess. Check your equation system and boundary conditions.
There is no stationary solution to your problem. For example, a constantly positive heat source surrounded by insulating walls results in a temperature field that increases forever, and never reaches a stationary state. Running a time-dependent study can help you understand what is going on.
Non-unique solutions. For example, a cavity flow problem needs to have the pressure locked in some point or the problem will have an infinite number of solutions. Right-click the physics interface head node and select Pressure Point Constraint under Points. Constrain one point to an arbitrary pressure, for example 0.
The mesh is too coarse to resolve steep gradients. This is a common scenario, for example, near walls in natural convection problems. Try refining the mesh locally, where you expect spatial variations in the solution.
For time-dependent nonlinear models
When a time dependent solver has trouble converging, its default behavior is to slow down. Reducing the time step is a good strategy when convergence problems would otherwise arise due to some fast change in time. However, a failure to converge can also be the result of strong nonlinearities.
Failed to find a solution.
The relative residual (0.28) is greater than the relative tolerance.
Returned solution is not converged.
Messages similar to this are returned for nonlinear problems that fail to converge. Here are some possible causes and cures:
Your model is highly nonlinear. This is often the case in for instance mass transport models with fast reactions. Try to cancel some known nonlinearity in the problem and gently ramp it up with the parametric solver. For example, Stationary models with high reaction rates (high Ri), or more generally, large source terms, may result in convergence problems. You can for instance get error messages such as "No convergence, even when using the minimum damping factor", "NaN repeatedly found in solution", or "Error: Failed to find a solution".
Try to solve the problem using reduced source terms, and then gradually increase them, using the previous solution when solving, until you reach the solution to your original problem. The following approach uses the parametric solver to gradually increase the source term. COMSOL Multiphysics will now start to solve the problem using the first multiplication factor. Then, if that works, the solution will be used as the initial guess for the next parameter value. This process will continue until the last parameter value is reached. Because you specified the last parameter value to be unity, the last solution will correspond to your original problem fomulation.
Multiply the reaction (source) term (Ri) by a multiplication factor variable, for example "k".
Click the Stationary node and select the Continuation check box. Enter k for Continuation parameter.
In Parameter values, enter a range of increasing values, starting at a low value and increasing to unity, for example "1e-3 1e-2 1e-1 1".
Click Compute.
Use the time dependent solver. By making the problem time dependent, you usually get a smoother convergence. Make sure to solve the problem for large enough times, such that the solution does not vary any longer. This implies that the solution has reached steady-state. Thus, COMSOL Multiphysics has calculated the stationary solution.
Right-click the Model node and select Add Study. Select Time Dependent and click Finish.
In Times, enter a range of times to solve for, for example "0 1e3".
Click Compute.
Your boundary conditions are inconsistent, either with each other or with your initial guess. Check your equation system and boundary conditions.
There is no stationary solution to your problem. For example, a constantly positive heat source surrounded by insulating walls results in a temperature field that increases forever, and never reaches a stationary state. Running a time-dependent study can help you understand what is going on.
Non-unique solutions. For example, a cavity flow problem needs to have the pressure locked in some point or the problem will have an infinite number of solutions. Right-click the physics interface head node and select Pressure Point Constraint under Points. Constrain one point to an arbitrary pressure, for example 0.
The mesh is too coarse to resolve steep gradients. This is a common scenario, for example, near walls in natural convection problems. Try refining the mesh locally, where you expect spatial variations in the solution.
For time-dependent nonlinear models
When a time dependent solver has trouble converging, its default behavior is to slow down. Reducing the time step is a good strategy when convergence problems would otherwise arise due to some fast change in time. However, a failure to converge can also be the result of strong nonlinearities.