|
[Sponsors] |
Modifying solidThermo in chtMultiRegionSimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2015, 11:18 |
Modifying solidThermo in chtMultiRegionSimpleFoam
|
#1 |
New Member
Björn Pfeiffelmann
Join Date: Sep 2015
Posts: 2
Rep Power: 0 |
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 ) 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 |
|
September 21, 2015, 05:16 |
|
#2 |
New Member
Björn Pfeiffelmann
Join Date: Sep 2015
Posts: 2
Rep Power: 0 |
I have found the source of this error Message. It is the boundary condition turbulentTemperatureModCoupledBaffleMixed which needs to be modified, too.
|
|
September 21, 2015, 12:23 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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"); |
|
Tags |
chtmultiregionsimplefoam, openfoam, programming, solidthermo |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying the laplacian operator | mlawson | OpenFOAM Running, Solving & CFD | 22 | July 16, 2018 05:56 |
Modifying sonicFoam to add EM terms | Alexee | OpenFOAM Programming & Development | 0 | February 11, 2015 11:55 |
modifying radial distribution function | ravindra | FLUENT | 2 | September 2, 2014 15:03 |
Local heat transfer / modifying wallHeatFlux | buck_s | OpenFOAM Programming & Development | 0 | June 17, 2014 07:54 |
Local heat transfer / modifying wallHeatFlux | buck_s | OpenFOAM Post-Processing | 0 | June 17, 2014 07:52 |