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

Modifying solidThermo in chtMultiRegionSimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2015, 10:18
Post Modifying solidThermo in chtMultiRegionSimpleFoam
  #1
New Member
 
Björn Pfeiffelmann
Join Date: Sep 2015
Posts: 2
Rep Power: 0
BjörnP is on a distinguished road
Hello everyone,

I am trying to use the detailed and good description of "Building an OpenFoam Library" - http://www.sourceflux.de/blog/buildi...nfoam-library/. In detail, I tried to manipulate the solidThermo library which is used inside the chtMultiRegionSimpleFoam solver. I have made a copy of the whole library and renamed every "solidThermo" entry to "modSolidThermo", not more. I followed the the description and the compiling worked for the modified library and solver. But when I try to use the modified solver for the planeWall2D case, I am getting the following error message:

Code:
--> FOAM FATAL IO ERROR: 
modSolidThermo is not in enumeration: 
4
(
directionalSolidThermo
fluidThermo
lookup
solidThermo
)
Can anybody tell me how to solve this problem?

Attached is my modified solver, library and test case.

https://gigamove.rz.rwth-aachen.de/d/id/UtmdELx3yiENeB

I am using OpenFoam 2.3.1

Thank you
BjörnP is offline   Reply With Quote

Old   September 21, 2015, 04:16
Default
  #2
New Member
 
Björn Pfeiffelmann
Join Date: Sep 2015
Posts: 2
Rep Power: 0
BjörnP is on a distinguished road
I have found the source of this error Message. It is the boundary condition turbulentTemperatureModCoupledBaffleMixed which needs to be modified, too.
BjörnP is offline   Reply With Quote

Old   September 21, 2015, 11:23
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: If the library is built independently from the solver, then you need to add the library to the "libs" entry in "controlDict", e.g.:
Code:
libs ("myLib.so");
wyldckat is offline   Reply With Quote

Reply

Tags
chtmultiregionsimplefoam, openfoam, programming, solidthermo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Modifying the laplacian operator mlawson OpenFOAM Running, Solving & CFD 22 July 16, 2018 04:56
Modifying sonicFoam to add EM terms Alexee OpenFOAM Programming & Development 0 February 11, 2015 10:55
modifying radial distribution function ravindra FLUENT 2 September 2, 2014 14:03
Local heat transfer / modifying wallHeatFlux buck_s OpenFOAM Programming & Development 0 June 17, 2014 06:54
Local heat transfer / modifying wallHeatFlux buck_s OpenFOAM Post-Processing 0 June 17, 2014 06:52


All times are GMT -4. The time now is 19:25.