|
[Sponsors] |
error in implementing viewfactor model in chtMultiregionFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2014, 23:42 |
error in implementing viewfactor model in chtMultiregionFoam
|
#1 | ||
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
Greeting all,
I am trying to implement viewFactor radiation model in chtMultiRegionFoam My geometry is a cavity air surrounded by solid insulation..inside cavity there is heating element giving constant temperature bc .. but may be it some problem increating viewfactor generation matrix...so for low thermal conductivity say 0.2 it is diverging showing the error Quote:
"floating point exception" Another issue is that..from first iteration in solid insulation temperature went negative... Quote:
Kindly can anyone suggest what is the problem with this issue? Regards, baran |
|||
October 31, 2014, 06:59 |
|
#2 |
Member
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17 |
Hi Baran,
I'm a little out of date but, based on previous experience and a quick scan of the latest source code for OpenFOAM 2.3.0, the view factor radiation model in OpenFOAM is fully explicit. What this essentially means is that, for problems where radiation is important, instabilities are likely. This is particularly problematic in steady-state problems. My first suggestion is to try applying relaxation to the radiation heat source "Qr" and/or the temperature T and increase the number of temperature correction iterations. I hope this is helpful Ivor |
|
November 2, 2014, 23:35 |
|
#3 | |||
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
Greeting all,
@Ivor ..thankss for your suggestion... I have made the under relaxation in this way.... for Fluid region Quote:
Quote:
Still it is diverging..... From 1st iteration only it calculate wrong value.... Quote:
Regards, baran |
||||
November 3, 2014, 03:43 |
|
#4 |
Member
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17 |
Hi Baran,
You haven't given much information on the errors given during the radiation calculation. It's not clear which part of the solver is giving that error. Could you post the full output? In relation to the instability in solid region temperatures:
If you send me the case, I can see if I can find a way forward for you. Regards Ivor |
|
November 3, 2014, 05:56 |
|
#5 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
Greeting all,
@ Ivor... this is a steady state case... chtMultiregionSimpleFoam fluidZone.... cavityAir solidZone....front, back, consT It is working when radiation is switch off.... This is my case file for radiation... https://www.dropbox.com/s/96y3woxakt...ation.zip?dl=0 What is the feature angle in viewFactor Dict file....?? Output file is also attached here....... regards, baran Last edited by baran_foam; November 3, 2014 at 22:09. |
|
November 5, 2014, 06:08 |
|
#6 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 18 |
Can you post your fvSolution file? Your log files look as if you use a too high residual for the matrix solvers (only 1 iteration, high final residuals). I don't have any experience with the viewFactor radiation model myself.
|
|
November 5, 2014, 06:23 |
|
#7 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
this attached for one solid region and one for fluid....
https://www.dropbox.com/s/t5p1mte134...ution.zip?dl=0 regards, baran |
|
November 6, 2014, 09:08 |
|
#8 |
Senior Member
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13 |
I would say that you'd better decrease the number of 'nFacesInCoarsestLevel' in dictionary file 'viewFactorsDict' located under 'constant'.
|
|
November 6, 2014, 22:21 |
|
#9 | ||||
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
Greeting all,
I have some doubt regarding viewFactor radiation model.... 1. What kind of effect we get if change 'nFacesInCoarsestLevel' in dictionary file 'viewFactorsDict' located under 'constant'?? 2.What is the meaning of featureAngle in "viewFactorsDict" file...? Mostly this feature angle option is not there in Fluent.... @cong thanks for your suggestions... but I tried with these combination of Quote:
Quote:
Quote:
Quote:
Regards, baran |
|||||
November 7, 2014, 04:53 |
|
#10 | |
Senior Member
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13 |
Quote:
|
||
November 10, 2014, 04:01 |
|
#11 |
Member
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17 |
I tried to run the attached case without any success. I couldn't even figure out what version of OpenFOAM you're using. I tried 2.2, 2.3 and the extend versions, all without success.
The feature angle and number of coarsest faces are used for agglomerating the faces for the view factor radiation calculation. Since the calculation involves NxN dense matrix inversions and multiplications, it can get really big really quickly. The idea is to agglomerate faces into groups to reduce the size of the problem. The feature angle is used to help ensure that the agglomerated faces share a common flat surface, i.e. helps to make sure the face grouping makes some physical sense. I agree with Cong though. There is no reason to suggest that the problem is specifically related to the radiation model. My suggestion is as follows. Set up the case without any radiation. If you need to run it with lower heater power to achieve this, then do this. Once you have a stable conjugate heat transfer solution then you can think about introducing the radiation model. |
|
November 10, 2014, 04:34 |
|
#12 | |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
@ ivor....this openFoam versioon is 2.1.....
the case is runing properly without radiation.....after 15000 iteration residual is like this... Quote:
regards, baran |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in thermophysical properties (chtMultiRegionFoam) | mukut | OpenFOAM Pre-Processing | 28 | November 23, 2021 06:34 |
What does this error when use solver chtMultiRegionFoam mean | sajad6 | OpenFOAM Running, Solving & CFD | 7 | October 6, 2014 07:38 |
FOAM FATAL IO ERROR for chtMultiRegionFoam | xiaoyoyo | OpenFOAM Running, Solving & CFD | 0 | May 8, 2012 16:49 |
Embed explicitSetValue in chtMultiRegionFoam | samiam1000 | OpenFOAM | 2 | April 18, 2012 05:14 |
chtmultiregionFoam | alvora | OpenFOAM | 9 | February 23, 2011 03:06 |