CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionFoam + solarLoad initialization error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Hawxliquid

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2024, 19:47
Lightbulb chtMultiRegionFoam + solarLoad initialization error
  #1
New Member
 
Andrew Arnold
Join Date: Apr 2024
Posts: 10
Rep Power: 2
instanton is on a distinguished road
Hi everyone:


I've modified the externalSolarLoad (eSL) viewFactor tutorial to incorporate a new geometry, having both air on the inside of the solid region (so that the solid region is a shell) and reducing the problem to two dimensions in the typical OpenFOAM way. The mesh is made using gmsh and imported via gmshToFoam. I've attached an image of the mesh.



I now have regions I've called interior, exterior, envelope, and ground. For interior and exterior, I've copied the air files of eSL; for envelope, solid; and for ground, floor. I added a pRefCell and pRefValue to the fvSolution for the interior, as it doesn't have fixed value BCs.


Meshing seems to work just fine, but I am getting an error, seemingly with the radiation model. From the stack trace:

[stack trace]
=============
#1 Foam::sigSegv::sigHandler(int)sh: 1: addr2line: not found
addr2line failed
#2 __kernel_rt_sigreturn
#3 Foam::radiation::solarLoad::updateSkyDiffusiveRadi ation(Foam::HashSet<int, Foam::Hash<int> > const&, Foam::HashSet<int, Foam::Hash<int> > const&)sh: 1: addr2line: not found
addr2line failed
#4 Foam::radiation::solarLoad::calculate()sh: 1: addr2line: not found
addr2line failed
#5 Foam::radiation::viewFactor::calculate()sh: 1: addr2line: not found
addr2line failed
#6 Foam::radiation::radiationModel::correct()sh: 1: addr2line: not found
addr2line failed
#7 ?sh: 1: addr2line: not found
addr2line failed
#8 ?sh: 1: addr2line: not found
addr2line failed
#9 __libc_start_mainsh: 1: addr2line: not found
addr2line failed
#10 ?sh: 1: addr2line: not found
addr2line failed
=============
Segmentation fault


I have no clue how to debug this error. I can post whatever information you need to help with this error. Thank you so much!
Attached Images
File Type: jpg Screen Shot 2024-04-12 at 3.18.49 PM.jpg (198.0 KB, 7 views)
instanton is offline   Reply With Quote

Old   April 18, 2024, 10:39
Default
  #2
New Member
 
Boris
Join Date: Jan 2017
Posts: 26
Rep Power: 9
Hawxliquid is on a distinguished road
Weird timing, but I actually tried to do almost the exact same thing. I was getting crazy with the error.
After reading your post, the only common point we had was that we did it in 2D. So I took my case, and just made it 3D while retaining everything, and voilą!
It seems the 2D model is an issue here
instanton likes this.
Hawxliquid is offline   Reply With Quote

Old   April 19, 2024, 16:02
Default
  #3
New Member
 
Andrew Arnold
Join Date: Apr 2024
Posts: 10
Rep Power: 2
instanton is on a distinguished road
Quote:
Originally Posted by Hawxliquid View Post
Weird timing, but I actually tried to do almost the exact same thing. I was getting crazy with the error.
After reading your post, the only common point we had was that we did it in 2D. So I took my case, and just made it 3D while retaining everything, and voilą!
It seems the 2D model is an issue here
Ah, I had considered that this was the issue, but hadn't worked up the nerve to test it! Thank you! I suppose the fundamental issue must be the use of empty patches, wouldn't you think?



Now, the modeling question is: Is there a way to simulate in 2d with a different set of boundary conditions, or is it just kind of meaningless to pose a solar load model in two dimensions, and three dimensions are really required? I had hoped to run my model in 2d first before taking on the greater computational burden... this is a question I'll have to think about, but maybe you have some thoughts.


Cheers.
instanton is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, solarload


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
long error when using make-install SU2_AD. tomp1993 SU2 Installation 3 March 17, 2018 07:25
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 13:34
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 12:47.