|
[Sponsors] |
January 8, 2016, 15:09 |
viewFactorsGen crashes
|
#1 |
New Member
Serban Georgescu
Join Date: Sep 2011
Posts: 2
Rep Power: 0 |
Hello everyone,
I am trying to add radiation to a conjugate heat transfer simulation (chtMultiRegionSimpleFoam solver) in OF 2.4.0. Following the tutorials, I've defined my viewFactorsDict for the two fluid regions that I have have and executed faceAgglomerate command on them. faceAgglomerate generated "finalAgglom" files in the constant directory for each region, so I guess that part went OK. Folowing, I ran viewFactorsGen for both fluid regions, but for one of them it crashes with the following message: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.4.0-dcea1e13ff76 Exec : viewFactorsGen -region default_fluid Date : Jan 08 2016 Time : 17:40:48 Host : "bx900-head" PID : 10741 Case : /work1/serban/OpenFOAM/phone-rad nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh default_fluid for time = 0 Total number of coarse faces: 0 #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib64/libc.so.6" #3 ? at ??:? #4 ? at ??:? #5 __libc_start_main in "/lib64/libc.so.6" #6 ? at ??:? Segmentation fault (core dumped) I am not sure what I did wrong ... the finalAgglom files looks sensible, so I am currently stuck. Could someone give me a pointer in the right direction? Thank you in advance, Serban |
|
April 1, 2016, 13:07 |
|
#2 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12 |
Hi Gserban,
did you manage to solve this problem? I am having the same issue. Thanks |
|
April 2, 2016, 01:18 |
|
#3 |
New Member
Serban Georgescu
Join Date: Sep 2011
Posts: 2
Rep Power: 0 |
Hi Rojj,
Unfortunately not, still stuck at this stage Serban |
|
April 2, 2016, 02:12 |
|
#4 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
have you tried increasing the number of coarse faces for the patches in viewFactors.dict?
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
June 26, 2019, 10:37 |
|
#6 |
New Member
Matteo Quirino
Join Date: Feb 2019
Posts: 6
Rep Power: 7 |
Hi Rojj,
I am having the exact same error as posted by Gserban. FaceAgglomerate runs fine, but one region reports that "Total number of coarse faces= 0". I don't understand why. I raised maxDynListLength up to 1e10, still that bloody region output that it has number of coarse faces = 0. Did you just raise the number in maxDynListLength or did you do something else? |
|
August 6, 2019, 06:02 |
|
#7 | |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Quote:
Hi.. I have one question here regarding viewFactorsDict, how we can decide the values for 'nFacesInCoarsestLevel' and 'featureAngle'? As I am new to radiation models, When I RUN faceAgglomerate and viewFactorsGen, i get the following error : Code:
--> FOAM FATAL IO ERROR: cannot open file file: /home/openfoam/run/radiation_box/constant/viewFactorsDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 86. FOAM exiting And I am wondering that how can I get this file? I shall be thankful if you can help me in this. Thank you |
||
August 6, 2019, 12:26 |
|
#8 | |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12 |
Quote:
If you are looking for a sample dict file, I usually find very useful to look at the OF github repository directly. For example for viewFactorsDict I would search for https://github.com/OpenFOAM/OpenFOAM...iewFactorsDict Assuming you are on OF6 |
||
June 23, 2020, 21:27 |
|
#9 | |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24 |
Quote:
I know this thread is old, but I wanted to post here as I also had the problem specified by MatteoQ. I did not get a segfault, but still got the message "Total number of coarse faces = 0". It turns out if you read the source code for viewFactorsGen.C, it loops over the boundary patches that are obtained by looking for a specific keyword: Code:
const word viewFactorWall("viewFactorWall"); Which seems very peculiar until you read the header: Code:
Description View factors are calculated based on a face agglomeration array (finalAgglom generated by faceAgglomerate utility). Each view factor between the agglomerated faces i and j (Fij) is calculated using a double integral of the sub-areas composing the agglomeration. The patches involved in the view factor calculation are taken from the boundary file and should be part on the group viewFactorWall. ie.: floor { type wall; inGroups 2(wall viewFactorWall); nFaces 100; startFace 3100; } So you need to add in the viewFactorWall group to any patch you wish view factors to be calculated on! |
||
January 12, 2022, 03:29 |
|
#10 | |
Member
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5 |
Quote:
Edit: Ok just saw this problem is addressed in this thread Thanks! Last edited by B_R_Khan; January 12, 2022 at 06:04. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
potentialFoam & simpleFoam crashes after snappyhexmesh [parallel execution] | pilot320 | OpenFOAM Running, Solving & CFD | 10 | November 12, 2015 16:56 |
reactingFoam crashes mysteriously | jose_rodrig | OpenFOAM Running, Solving & CFD | 9 | August 4, 2015 10:18 |
Simulation crashes early, crashes hard... | MtnRunBeachBum | OpenFOAM Running, Solving & CFD | 6 | April 22, 2015 09:27 |
HELP!!! viewFactorsGen is not calculating view factors!! | zfaraday | OpenFOAM Pre-Processing | 0 | September 15, 2014 08:55 |
flo-efd v11.0.0 crashes | YoavF | FloEFD, FloWorks & FloTHERM | 3 | June 21, 2012 12:37 |