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

Error compiling new DDES turbulence model in v3.0+

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2016, 13:35
Default Error compiling new DDES turbulence model in v3.0+
  #1
Member
 
Mat
Join Date: Jan 2012
Posts: 60
Rep Power: 14
Mat_fr is on a distinguished road
Hi Foamers,

I have created my own DES and DDES turbulence model in OFv2.3, and I need to adapt them for OFv3.0.

I've successfully adapted and compiled the DES model in version 3.0, according to the structure described here: https://github.com/HelioVillanueva/h...rbulenceModels
However, I get an error when I want to compile the DDES model, using my own DES model.
Normally the DDES constructor is calling the DES model with:
Code:
SpalartAllmarasDES<BasicTurbulenceModel>(alpha,rho,U,alphaRhoPhi,phi,transport,propertiesName)
So, I have just changed that to:
Code:
SpalartAllmarasDES_IBM<BasicTurbulenceModel>(alpha,rho,U,alphaRhoPhi,phi,transport,propertiesName)
where SpalartAllmarasDES_IBM is my DES model (which is compiling well on his own).
The error is the following:
../turbulenceModels/LES/SpalartAllmarasDDES_IBM/SpalartAllmarasDDES_IBM.C(131): error: argument list for class template "Foam::LESModels::SpalartAllmarasDES_IBM" is missing
SpalartAllmarasDES_IBM<SpalartAllmarasDES_IBM>

I'm sure I'm mistaking something with the template.
It was easier with version 2.3 as there was no template to use for the DES models.

Thanks in advance for your help.

Best,
Mat
Mat_fr is offline   Reply With Quote

Old   July 29, 2016, 11:29
Default
  #2
Senior Member
 
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17
hk318i is on a distinguished road
Hello,

I discussed this problem in a blog post. I showed a more general solution, have a look maybe it will give you a hint about this error.
__________________
@HIKassem | HassanKassem.me
hk318i 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Wrong calculation of nut in the kOmegaSST turbulence model FelixL OpenFOAM Bugs 27 March 27, 2012 09:02
Low Reynolds k-epsilon model YJZ ANSYS 1 August 20, 2010 13:57
Fan heater model: what turbulence source to use? andy20 CFX 7 March 3, 2008 16:42


All times are GMT -4. The time now is 01:50.