|
[Sponsors] |
New PatchInteractionModel for different cloudTypes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2019, 15:18 |
New PatchInteractionModel for different cloudTypes
|
#1 |
New Member
Eduardo Cruz
Join Date: Oct 2018
Posts: 13
Rep Power: 8 |
Hi everyone,
I created a different PatchInteractionModel, and I need to use it with different cloudTypes. If I have a makeMyPatchInteractionModel.C like this Code:
namespace Foam { makePacthInteractionModelType(myPatchInteractionModel, basicKinematicCloud); makePacthInteractionModelType(myPatchInteractionModel, basicThermoCloud); makePacthInteractionModelType(myPatchInteractionModel, basicReactingCloud); }; Code:
#define makeMyPacthInteractionModelType(SS, CloudType) \ \ defineNamedTemplateTypeNameAndDebug \ ( \ Foam::SS<Foam::CloudType::kinematicCloudType>, \ 0 \ ); \ \ Foam::PatchInteractionModel<Foam::CloudType::kinematicCloudType>:: \ adddictionaryConstructorToTable<Foam::SS \ <Foam::CloudType::kinematicCloudType>> \ add##SS##CloudType##kinematicCloudType##ConstructorToTable_; Regards, ECruz |
|
September 13, 2019, 10:39 |
|
#2 |
New Member
Eduardo Cruz
Join Date: Oct 2018
Posts: 13
Rep Power: 8 |
No idea? I'm still doing the new definition. It works, but I'd really like to know if it is the best option.
ECruz |
|
|
|