field function report new value each iteration
Hi,
I created a field function with a variable from a report ${nameofthereport} , I created a monitor for the report as well. Do I need to set an option for ccm+ to read in the value of ${nameofthereport} each iteration, or does this happen on its own? Thanks for your help kind regards hebeldebel This is the field function I wrote: (9E-05)*${TemperaturKupferMitteReport}*${TemperaturKup ferMitteReport}-0.0144*${TemperaturKupferMitteReport}+10.382 I use it to define a volumetric heat source as a function of the temperature on a specific point. When I do the same calculation with my calculator I get approx. 9.8 Watt, when i do a heat transfer report on the region with the volumetric heat source, I get ~ 17 Watt. As ${TemperaturKupferMitteReport} lies between 60 and 130, something must be wrong with my field function. |
No, this happens every time the field function is calculated, you don't have to specify an update frequency.
Are you sure your report contains no other heat transfer from other places in the region? That sounds like it's happening to me. |
Thank you for your answer
Quote:
Quote:
|
The field function is automatically calculated every time it needs to be. When it is called, it is calculated. How often it is called depends on how you've implemented it. If it's in a monitor that's updated every iteration, that would then calculate it every iteration.
Well, I don't know what your field function really means since there's a few constants in there, but it doesn't look like the 1d HX equation I've seen many-a-times. |
It is a formula I derived from the datasheet of a LED manufacturer and its power output varies with the temperature. I typed the same equation into excel, created a monitor for the boundary I took the temperature and did the calculation with excel. I got the right wattage, but the output of the heat transfer report (of the volumetric heat source) shows a much higher number for the following iteration, than expected.
Something must be wrong with the way, I wrote the field function. Here is another point: the input ${TemperaturKupferMitteReport} is a temperature in C, while the field function I try to write is defined as Power [W] is this a problem? the excel formula reads as: =0.00009*L53*L53-0.0144*L53+10.382 L53 is the cell with the temperature value |
It's a problem if the report outputs something other than C. I would just make everything in Kelvin and see if you get the same answer.
|
Hi me3840,
thanks for your answer, I tried it but still got some weird results, so I tried it all again, . . . turns out I had some rounding errors in my calculation and therefore got wrong values :rolleyes: . Everything works now. :) |
Hi hebeldebel,
What's rounding errors you mentioned in star? It's maybe a answer of my difficulty for a long time. |
All times are GMT -4. The time now is 23:29. |