|
[Sponsors] |
Basic question about writing a differential equation related to finite element |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2014, 09:12 |
Basic question about writing a differential equation related to finite element
|
#1 |
New Member
Join Date: Apr 2014
Posts: 4
Rep Power: 12 |
I'm writing a code to solve differential equations using a finite element method. I need to write a report about my activities. I know I should know this, but I'm getting confused about how to write a general differential equation in this situation. I have tried Google, but no luck. I would really appreciate some help. This is not a homework question; I'm an old fart and it has been a while since I did this stuff!
I know that when a variable is constant, it should go outside of the differential. For example, if k is constant, an equation should be written as q = k (dT/dx). But when using numerical methods, k might be constant within one time-step, but change for the next time step. So does this mean k needs to go inside the differential? For example, in my code, there are several calculation steps in each time step. There is a calculation that changes k, then there are additional calculations to change other variables (all using the new k); q is calculated using the new k. Then we go to a new time-step and k changes again. |
|
April 10, 2014, 04:50 |
|
#2 |
New Member
Marek Chodorski
Join Date: Aug 2013
Location: Poland
Posts: 13
Rep Power: 13 |
Hi,
Your equation should look like this: http://feazone.org/readarticle.php?article_id=11 Regards, Marek PS Description is in polish use google translator - the sense should be understandable - I hope In your case T is temperature ( I guess ) in my S is concentration |
|
Tags |
differences, equations, variables |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Mix AIR and WATER | Elvis1991 | FLUENT | 12 | December 1, 2016 13:28 |
How can be calculate a surface integral in the finite element method? | HectorRedal | Main CFD Forum | 3 | March 13, 2015 09:25 |
Question about reference values --> Area (multi element wing) | Zweeper | FLUENT | 7 | March 28, 2010 12:29 |
Fininte difference and Finite element Technique | Mahendra Singh Mehra | FLUENT | 3 | December 23, 2005 00:49 |
question about energy equation | zhou | FLUENT | 0 | February 24, 2004 00:55 |