    

 ## On this page

  

 

 # rocky\_cfd\_model

 Last update: 16.07.2025 

<a id="l00001" name="l00001"></a> 1// (C) 2024 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

<a id="l00002" name="l00002"></a> 2\#pragma once

<a id="l00003" name="l00003"></a> 3 

<a id="l00004" name="l00004"></a> 4\#include "rocky20/model/cfd\_data.h"

<a id="l00005" name="l00005"></a> 5 

<a id="l00006" name="l00006"></a> 6class cuda_host;

<a id="l00007" name="l00007"></a> 7typedef cuda_host RockyModel;

<a id="l00008" name="l00008"></a> 8struct [IRockyFluidScalarsModel](structIRockyFluidScalarsModel.xhtml);

<a id="l00009" name="l00009"></a> 9 

<a id="l00015" name="l00015"></a>[ 15](structIRockyCFDModel.xhtml)struct [IRockyCFDModel](structIRockyCFDModel.xhtml)

<a id="l00016" name="l00016"></a> 16{

<a id="l00022" name="l00022"></a> 22 [IRockyFluidScalarsModel](structIRockyFluidScalarsModel.xhtml) [get\_fluid\_scalars](structIRockyCFDModel.xhtml#a001b18af80c99c01ce4baa357bac4977)() const;

<a id="l00023" name="l00023"></a> 23 

<a id="l00033" name="l00033"></a> 33 ECFDCouplingMode [get\_coupling\_mode](structIRockyCFDModel.xhtml#a121e67b3f5efdd1783a32a7fa642080c)() const;

<a id="l00034" name="l00034"></a> 34 

<a id="l00041" name="l00041"></a> 41 bool [is\_cfd\_coupling\_iteration](structIRockyCFDModel.xhtml#a733281fb5b40b3cfbf10c29869208343)() const;

<a id="l00042" name="l00042"></a> 42 

<a id="l00046" name="l00046"></a> 46 bool [is\_single\_phase](structIRockyCFDModel.xhtml#a0eaf07fa0aa63473b83a633dad1e8f25)() const;

<a id="l00050" name="l00050"></a> 50 bool [has\_species](structIRockyCFDModel.xhtml#a4ac3f8164add3366c5f08f4f819a79fd)() const;

<a id="l00051" name="l00051"></a> 51 

<a id="l00056" name="l00056"></a> 56 std::vector&lt;std::string&gt; [get\_phase\_names](structIRockyCFDModel.xhtml#a6bc367fb97d56786d71d89351957a2a1)();

<a id="l00057" name="l00057"></a> 57 

<a id="l00062" name="l00062"></a> 62 std::string [get\_primary\_phase\_name](structIRockyCFDModel.xhtml#a83c9a597793b791d1e42e0756ddddb06)();

<a id="l00063" name="l00063"></a> 63 

<a id="l00068" name="l00068"></a> 68 std::vector&lt;std::string&gt; [get\_species\_names](structIRockyCFDModel.xhtml#aac7f217cdfc15f0dd301dfd99127a194)();

<a id="l00069" name="l00069"></a> 69 

<a id="l00071" name="l00071"></a> 71 RockyModel* model;

<a id="l00074" name="l00074"></a> 74};



[IRockyCFDModel](structIRockyCFDModel.xhtml)

**Definition** rocky_cfd_model.h:16



[IRockyCFDModel::get\_fluid\_scalars](structIRockyCFDModel.xhtml#a001b18af80c99c01ce4baa357bac4977)

IRockyFluidScalarsModel get_fluid_scalars() const

**Definition** rocky_cfd_model.cpp:11



[IRockyCFDModel::is\_single\_phase](structIRockyCFDModel.xhtml#a0eaf07fa0aa63473b83a633dad1e8f25)

bool is_single_phase() const

**Definition** rocky_cfd_model.cpp:33



[IRockyCFDModel::get\_coupling\_mode](structIRockyCFDModel.xhtml#a121e67b3f5efdd1783a32a7fa642080c)

ECFDCouplingMode get_coupling_mode() const

**Definition** rocky_cfd_model.cpp:6



[IRockyCFDModel::has\_species](structIRockyCFDModel.xhtml#a4ac3f8164add3366c5f08f4f819a79fd)

bool has_species() const

**Definition** rocky_cfd_model.cpp:38



[IRockyCFDModel::get\_phase\_names](structIRockyCFDModel.xhtml#a6bc367fb97d56786d71d89351957a2a1)

std::vector&lt; std::string &gt; get_phase_names()

**Definition** rocky_cfd_model.cpp:43



[IRockyCFDModel::is\_cfd\_coupling\_iteration](structIRockyCFDModel.xhtml#a733281fb5b40b3cfbf10c29869208343)

bool is_cfd_coupling_iteration() const

**Definition** rocky_cfd_model.cpp:16



[IRockyCFDModel::get\_primary\_phase\_name](structIRockyCFDModel.xhtml#a83c9a597793b791d1e42e0756ddddb06)

std::string get_primary_phase_name()

**Definition** rocky_cfd_model.cpp:52



[IRockyCFDModel::get\_species\_names](structIRockyCFDModel.xhtml#aac7f217cdfc15f0dd301dfd99127a194)

std::vector&lt; std::string &gt; get_species_names()

**Definition** rocky_cfd_model.cpp:47



[IRockyFluidScalarsModel](structIRockyFluidScalarsModel.xhtml)

**Definition** rocky_fluid_scalars.hpp:18