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

Autorefinement and deforming enginemesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2011, 04:20
Default Autorefinement and deforming enginemesh
  #1
Senior Member
 
Rickard
Join Date: May 2010
Location: Lund, Skĺne, Sweden
Posts: 143
Rep Power: 15
Rickard.Solsjo is on a distinguished road
Hi all
Does anyone have any idea on how to solve this problem, or perhaps have solved it before.
Im trying to implement dynamicRefinement into the dieselEngineFoam.
This means I have to include both dynamicFvMesh and engineMesh, and this gives me a problem since the pointer meshPtr is directing to both of them so I get a conflict in declaration. I'm just doing it for a single processor naturally.
My error message reads.

/opt/openfoam171/src/dynamicFvMesh/lnInclude/createDynamicFvMesh.H: In function ‘int main(int, char**)’:
/opt/openfoam171/src/dynamicFvMesh/lnInclude/createDynamicFvMesh.H:6: error: conflicting declaration ‘Foam::autoPtr<Foam::dynamicFvMesh> meshPtr’
/opt/openfoam171/src/engine/lnInclude/createEngineMesh.H:6: error: ‘meshPtr’ has a previous declaration as ‘Foam::autoPtr<Foam::engineMesh> meshPtr’
/opt/openfoam171/src/dynamicFvMesh/lnInclude/createDynamicFvMesh.H:17: error: conflicting declaration ‘Foam::dynamicFvMesh& mesh’
/opt/openfoam171/src/engine/lnInclude/createEngineMesh.H:17: error: ‘mesh’ has a previous declaration as ‘Foam::engineMesh& mesh’

Appreciate some help
Rickard.Solsjo is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 02:58.