|
[Sponsors] |
adding linearValveLayersFvMesh to library in OF1.7.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 4, 2011, 08:05 |
adding linearValveLayersFvMesh to library in OF1.7.1
|
#1 |
New Member
Alexandre Deloffre
Join Date: Sep 2010
Posts: 2
Rep Power: 0 |
Hi everyone, happy new year!
I am working with OpenFOAM 1.7.1 and I have noticed that the "topoChangerFvMesh" library does not include the "linearValveLayersFvMesh" model. In src/topoChangerFvMesh/make/files several .C files are in comment: topoChangerFvMesh/topoChangerFvMesh.C Because I need this feature I have removed */ and recompiled the library using "wmake libso". The "mixerFvMesh.C" was correctly added but "linearValveLayersFvMesh" and "linearValveFvMesh" were not added. For "linearValveLayersFvMesh" I get the following error message: wmakeLnInclude: linking include files to ./lnInclude According to my observation of the others .C and the log I have change "void" to "bool" line 372 of the .C and add "topoChanger_." in front of addTopologyModifiers(tm)". The new errors appear: Making dependency list for source file linearValveLayersFvMesh/linearValveLayersFvMesh.C There are three declaration problems: resetMorph setMorphTimeIndex updateMesh topoChangeMap What is odd is that resetMorph and setMorphTimeIndex appear once again after the line 396 but only updateMesh is mentioned. I have solved the last problem by adding a line I saw in the "mixerFvMesh.C" and above in linearValveLayersFvMesh.C: autoPtr<mapPolyMesh> topoChangeMap = topoChanger_.changeMesh(true)How could I solve those problem? Thank you very much. Here is the linearValveLayersFvMesh.C |
|
Tags |
linearvalvelayersfvmesh, resetmorph, setmorphtimeindex, topochangerfvmesh, updatemesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 07:24 |
Help with chtMultiRegionFoam | jbvw96 | OpenFOAM Running, Solving & CFD | 2 | December 26, 2010 17:16 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 15:49 |
Help! I cann't make library | Bowling | FLUENT | 5 | May 12, 2004 04:56 |
Good library to solve huge linear system | Ricardo Bonon | Main CFD Forum | 3 | May 19, 2000 06:24 |