91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 842KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-16
  • 語言: 其他
  • 標簽: FLUENT??EDEM??耦合接口??

資源簡介

FLUENT-EDEM耦合接口,適用版本為FLUENT16+EDEM2.7,親測可用
已編譯好,可以直接用,使用方法:FLUENT打開user-defined > Functions > Manage… ,在library Name中輸入耦合接口所在路徑,點擊load按鈕加載udf宏 ;EDEM:選擇菜單Tools > EDEM Coupling Options > Show Coupling Server 在右下角對話框中點擊按鈕Start,之后EDEM處于監(jiān)聽狀態(tài)

資源截圖

代碼片段和文件信息

//?Parallel?EDEM?CFD?Coupling?for?ANSYS?FLUENT?-?Version?1.0
//?Copyright?2013?ANSYS?Inc.?????
//
//?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
//?you?may?not?use?this?file?except?in?compliance?with?the?License.
//?You?may?obtain?a?copy?of?the?License?at
//
// ?http://www.apache.org/licenses/LICENSE-2.0
//
//?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
//?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
//?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?expressed?or?implied.
//?See?the?License?for?the?specific?language?governing?permissions?and
//?limitations?under?the?License.
//
//?Portions?of?this?software?were?developed?in?a?collaboration?between?
//?Adam?Anderson?of?ANSYS?Inc.?and?Andrew?Hobbs?of?Astec?Inc.?A?user?
//?community?forum?for?sharing?experiences?and?code?improvements?is?
//?maintained?at?
//
// ?http://www.dem-solutions.com/forum

#include?

#include?“AdaptorInterface.h“
#include?“IEDEMCouplingV2_2_0.h“
#include?“CDiscreteElement.h“
#include?“CFluentParticleData.h“
#include?“vectorMaths.h“
#include?“CAdaptorQuaternion.h“
#include?“udfParticle.h“


using?namespace?std;
using?namespace?NApiCfd;
/*?using?namespace?NApiCfd;?Get?rid?of?all?references?to?NApiCfd?and?V1_0_0

/*?An?instance?of?the?CFD?coupling?with?which?to?interact?*/
NApiEDEM::IEDEMCoupling?g_CfdCoupling?=?NApiEDEM::IEDEMCoupling();

/*?The?particle?data?that?will?be?used?with?the?coupling?*/
CFluentParticleData?g_particleData?=?CFluentParticleData();

//?ADAP_INT?void?ADAPTOR_initialiseEDEMCoupling(int?*success)
//?{
????//?/*?C++?interface?takes?a?boolean?reference?*/
????//?bool?boolSuccess;

//?g_CfdCoupling.disableGuiWarnings(true);
????//?boolSuccess?=?g_CfdCoupling.initialiseCoupling();

????//?*success?=?boolSuccess???1?:?0;
//?}

//?ADAP_INT?void?ADAPTOR_connectEDEMCoupling(int?*success)
//?{
????//?/*?C++?interface?takes?a?boolean?reference?*/
????//?bool?boolSuccess;

//?g_CfdCoupling.disableGuiWarnings(true);
????//?boolSuccess?=?g_CfdCoupling.connectCoupling();

????//?*success?=?boolSuccess???1?:?0;
//?}

ADAP_INT?void?ADAPTOR_init_connectEDEMCoupling(int?*success)
{
????/*?C++?interface?takes?a?boolean?reference?*/
????bool?boolSuccess?=?false;

g_CfdCoupling.disableGuiWarnings(true);

if(g_CfdCoupling.initialiseCoupling())
{
?boolSuccess?=?g_CfdCoupling.connectCoupling();
}

????*success?=?boolSuccess???1?:?0;
}

/*
ADAP_INT?void?ADAPTOR_newMeshFile(const?char*?filename
??????????????????????????????????const?double*?gravity
??????????????????????????????????const?char*?meshFilename
??????????????????????????????????int*?success)
{
????bool?boolSuccess?=?g_CfdCoupling.newGeometry(filename?meshFilename);?

????if(boolSuccess)
????{
????????NApiEDEM::C3dValue?grav(gravity[0]?gravity[1]?gravity[2]);
????????boolSuccess?=?g_CfdCoupling.setGravity(grav);
????}

????*success?=?b

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????12032??2015-01-27?06:41??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\AdaptorInterface.cpp

?????文件???????8783??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\AdaptorInterface.h

?????文件???????3664??2015-01-27?06:47??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CAdaptorQuaternion.cpp

?????文件???????3210??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CAdaptorQuaternion.h

?????文件???????1387??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CCellAndThreadData.cpp

?????文件???????2402??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CCellAndThreadData.h

?????文件???????5557??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CFluentParticleData.cpp

?????文件???????3738??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CFluentParticleData.h

?????文件???????6608??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CParticleData.cpp

?????文件???????5513??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\CParticleData.h

?????文件??????37142??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\IEDEMCouplingV2_2_0.h

?????文件???????3514??2013-08-28?18:14??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\src\udfParticle.h

?????文件??????97303??2015-03-06?17:07??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\win64\AdaptorInterface.obj

?????文件??????72842??2015-03-06?17:07??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\win64\CAdaptorQuaternion.obj

?????文件????????769??2015-03-06?17:07??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\win64\CCellAndThreadData.obj

?????文件?????159948??2015-03-06?17:07??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\win64\CFluentParticleData.obj

?????文件????????548??2013-06-28?19:10??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\win64\compile_adaptor_objects.bat

?????文件?????137829??2015-03-06?17:07??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\edem_adaptor\win64\CParticleData.obj

?????文件???????1456??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\ApiIds.h

?????文件???????6477??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\ApiTypes.h

?????文件???????1483??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\C3dValue.h

?????文件???????6564??2015-01-27?06:23??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\CDiscreteElement.h

?????文件???????3200??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\IApi.h

?????文件???????2437??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\IApiManager_1_0.h

?????文件????????955??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\ICfdCouplingV1_0_0.h

?????文件??????37142??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\IEDEMCouplingV2_2_0.h

?????文件??????37756??2014-11-10?12:34??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_INCLUDE_FILES\vectorMaths.h

?????文件?????219648??2014-12-10?18:41??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_LIBRARY_DIR\libEDEMCouplingClientV2_2_0.dll

?????文件??????28130??2014-12-10?18:41??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\EDEM_LIBRARY_DIR\libEDEMCouplingClientV2_2_0.lib

?????文件??????11558??2013-08-14?16:20??Fluent16-EDEM2.7_Coupling_VS2013\Fluent16-EDEM2.7_Coupling_VS2013\LICENSE.txt

............此處省略142個文件信息

評論

共有 條評論