本文整理汇总了C++中TPZAutoPointer::WaterOilReservoirBox方法的典型用法代码示例。如果您正苦于以下问题:C++ TPZAutoPointer::WaterOilReservoirBox方法的具体用法?C++ TPZAutoPointer::WaterOilReservoirBox怎么用?C++ TPZAutoPointer::WaterOilReservoirBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TPZAutoPointer
的用法示例。
在下文中一共展示了TPZAutoPointer::WaterOilReservoirBox方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: BoxLinearTracerDual
void BoxLinearTracerDual()
{
// Materials ids and boundary settings
TPZAutoPointer<TRMRawData> RawData = new TRMRawData;
bool Is3DGeometry = true;
// On box reservoir
//RawData->WaterReservoirBox(Is3DGeometry); // Single-phase flow
RawData->WaterOilReservoirBox(Is3DGeometry); // Two-phase flow
// RawData->WaterOilGasReservoirBox(Is3DGeometry); // Three-phase flow
// On cricular reservoir
// RawData->WaterReservoirCircle(Is3DGeometry); // Single-phase flow
// RawData->WaterOilReservoirCircular(Is3DGeometry); // Two-phase flow
// RawData->WaterOilGasReservoirCircular(Is3DGeometry); // Three-phase flow
TRMSimulationData * SimData = new TRMSimulationData;
SimData->SetRawData(RawData);
TRMOrchestra * SymphonyX = new TRMOrchestra;
SymphonyX->SetSimulationData(SimData);
// SymphonyX->BuildGeometry(Is3DGeometry); // @omar:: This mesh must to be unique???
SymphonyX->SetSegregatedQ(true);
SymphonyX->CreateAnalysisDualonBox(true); // Static Solution
SymphonyX->RunStaticProblem();
SymphonyX->CreateAnalysisDualonBox(false); // Evolutionary Solution
SymphonyX->RunEvolutionaryProblem();
std::cout << "Dual complete normally." << std::endl;
}