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

Autorefinement and deforming enginemesh

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

Reply
 
LinkBack Thread Tools 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: 7
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 13:53.