|
[Sponsors] |
July 31, 2020, 07:25 |
Create new object
|
#1 |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Hi Foamer,
I am trying to create a new object of the type "interfaceHeatResistance". This class inherits from the "temperaturePhaseChangeTwoPhaseMixture" class. However, in the createFields file the object mixture is created with: Code:
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n" << endl; autoPtr<temperaturePhaseChangeTwoPhaseMixture> mixture = temperaturePhaseChangeTwoPhaseMixture::New(thermo(), mesh); Code:
// Selectors //- Return a reference to the selected phaseChange model static autoPtr<temperaturePhaseChangeTwoPhaseMixture> New ( const thermoIncompressibleTwoPhaseMixture& mixture, const fvMesh& mesh ); // Constructors //- Construct from components temperaturePhaseChangeTwoPhaseMixture ( const thermoIncompressibleTwoPhaseMixture& mixture, const fvMesh& mesh ); //- Destructor virtual ~temperaturePhaseChangeTwoPhaseMixture() = default; Code:
// Constructors //- Construct from components interfaceHeatResistance ( const thermoIncompressibleTwoPhaseMixture& mixture, const fvMesh& mesh ); |
|
July 31, 2020, 10:38 |
|
#2 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 07:56 |
[OpenFOAM.org] Instructions to install OpenFOAM-2.4.x on CentOS-6.10 | redbullah | OpenFOAM Installation | 9 | September 7, 2019 17:18 |
creating object within an object, with different field values and boundaries | wernero | OpenFOAM Pre-Processing | 0 | March 29, 2016 11:39 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 07:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 01:07 |