|
[Sponsors] |
Method of manufactured solution with discontinuos material |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 11, 2024, 17:28 |
Method of manufactured solution with discontinuos material
|
#1 |
New Member
Rabia Sonmez
Join Date: Aug 2024
Posts: 3
Rep Power: 2 |
Hello everyone,
I am trying to validate my 1D unsteady heat equation in a commercial CFD program. I have two solid attached to each other.(solid 1 and solid 2) At the interface ( where solids touch each other) material properties are changing. How I can propose a manufactured solution for that? So far I tried the followings; 1) Two manufactured solution for solid1 and solid2 so there are two sources for each solid. I made sure that there is continuity of temperature at the interface. I also wrote a code in Python to compare with the software but they only match at very early time. 2) I proposed just one manufactured solution and calculated the source term for both solid. Again, my code and CFD software result matched just very early time step. Is there any specific approach to manufactured solution when we add it to a commercial CFD program? Thank you. |
|
August 12, 2024, 07:26 |
|
#2 |
Senior Member
|
For steady state conduction in 1D, an analytical solution exists for an arbitrary number of layers, each with its own material and source term. Not sure for unsteady. Is this what you need?
|
|
August 12, 2024, 12:19 |
|
#3 |
New Member
Rabia Sonmez
Join Date: Aug 2024
Posts: 3
Rep Power: 2 |
Nope, yes there is an exact solution but I want to construct a manufactured solution to verify my code and to verify the case in a CFD software.
|
|
August 13, 2024, 04:59 |
|
#4 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,286
Rep Power: 34 |
Quote:
I am confused. For your case, how the manufactured solution be any different than the analytical solution if the PDE has to give unique solution. |
||
August 15, 2024, 11:04 |
|
#5 | |
Senior Member
|
Quote:
If for a case there is no known exact solution, you just pick up a a certain function (complex enough to not allow easy cancellations), put it in your equations and the resulting imbalance is your source term. This is MS, roughly speaking. Manufactured indeed comes from the fact that you choose the solution form and the equations give you the source terms needed to make it an actual solution. But if your case actually has an analytical solution, and this satisfies your testing needs (e.g., if it is steady and you indeed are only interested in a steady approach), that's it, you can use it. The main difference is that you won't have any source terms (unless they were already part of the original problem) and the solution will probably be more relevant and easy to investigate. So, I guess, you actually meant that you need an unsteady solution, not a steady one? |
||
August 15, 2024, 14:55 |
|
#7 | |
New Member
Rabia Sonmez
Join Date: Aug 2024
Posts: 3
Rep Power: 2 |
Quote:
Let's say domain length is L = 2.0 cm and at L/2 my conductivity changes. So, region1 from 0 to L/2, conductivity is k1 and region2 from L/2 to L, conductivity is k2. Should I derive two source term for region1 and region2? How I can construct a manufactured solution for this problem so that it will capture the discontinuity at the interface? |
||
August 15, 2024, 15:27 |
|
#8 |
Senior Member
|
Ok, the premise was deceiving, as you began with "I am trying to validate", which isn't then your main concern. You, instead, actually want to learn how to obtain a manufactured solution.
STILL, obtaining a manufactured solution is not far from actually looking for a solution, as you need to know certain stuff about your equations (and also weird here, considering there are, literally, books written on the analytical solutions for heat conduction problems). Long story short: when choosing a manufactured solution, it also embeds the boundary conditions you need to apply. If your code enforces/assumes, as it should, continuity of temperature and fluxes at the interface, so should the manufactured solutions. As I said, boundary conditions typically come from the chosen solution, and I am not aware of any systematic method to come up with manufactured solutions with certain properties because... ...well, as I previously stated, and it is especially so for this specific problem, that's basically looking for an analytical solution. Also, let me add, this goes pretty much beyond what the MMS is actually meant to do. Multiple zones are more of a coding aspect than a math one and, again, analytical solutions exist. EDIT: Let me be more explicit. Yes, you need to autonomously pick up two solutions that will match at the interface together with the fluxes. No, there isn't a systematic method to derive such group of functions because, well, again, that's pretty close to how you obtain the actual analytical solution. Yes, once you have a function for each zone/material, you derive the corresponding source term to use in that zone/material. |
|
August 16, 2024, 02:19 |
|
#9 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,286
Rep Power: 34 |
Quote:
Transport phenomenon, Bird Steward, Lightfoot HEAT CONDUCTION THROUGH COMPOSITE WALLS This is where description of steady state of your problem. Transient could be derived i believe. At least look at it. Long time ago, i did write a code to test this and verified that starccm and wildkatze produced the steady state interface temperature given by formula here. |
||
Tags |
heat equation, manufactured solution, unsteady, validation, verification |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2way FSi, Initialize with steady solution, Fluent, Transient Sturcural, System Coupli | mmkkeshavarzi | FLUENT | 1 | June 28, 2024 08:03 |
UDF for Automatic Solution Initialization for previous case data file | gartz89 | Fluent UDF and Scheme Programming | 6 | March 30, 2020 08:38 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
Solution initialization method in ANSYS Fluent | malick | FLUENT | 0 | June 15, 2016 01:52 |
Solution method | michimichi88 | Fluent Multiphase | 0 | May 13, 2015 12:35 |