当前位置: 首页 > news >正文

Windows下编译安装Kratos

Kratos是一款开源跨平台的多物理场有限元框架。本文记录在Windows下编译Kratos的流程。

Ref. from Kratos

KRATOS Multiphysics ("Kratos") is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface. 

Ref. from A Framework for Developing Finite Element Codes for Multi-Disciplinary Applications

The objective of this work is to design and implement a framework for building multi-disciplinary finite element programs. This framework is called Kratos and will help to build a wide variety of finite element programs from the simplest formulation, for example a heat conduction problem , to the most complex ones, like multi-disciplinary optimization techniques. From one side it will provide a complete set of flexible tools for fast implementation of experimentalacademic algorithms and form the other side it must be fast and efficient to be used for real industrial analysis.

零、环境

操作系统Windows 11
Visual StudioVisual Studio Community 2022
CMakeCMake 3.24.2
GitGit version 2.45.2.windows.1
BoostBoost 1.80.0

一、下载代码与依赖

1.1 下载代码

git.exe clone --progress --recursive -v https://github.com/KratosMultiphysics/Kratos.git
cd ./Kratos/
git checkout -b Kratos-v9.5 v9.5

1.2 依赖

下载并安装boost_1_80_0-msvc-14.3-64.exe。

二、编译

按照下表配置CMake,

Where is the source codeD:/CaeFrameworks/Kratos/Kratos
Where to build the binariesD:/CaeFrameworks/Kratos/BUILD/Kratos-v9.5
CMAKE_INSTALL_PREFIXD:/CaeFrameworks/Kratos/INSTALL/Kratos-v9.5
Boost_INCLUDE_DIRD:/CaeFrameworks/Boost/boost_1_80_0

在VS中右键"ALL_BUILD"完成编译,然后右键"INSTALL"完成安装。

参考资料

  • Pooyan Dadvand. A Framework for Developing Finite Element Codes for Multi-Disciplinary Applications. Monograph CIMNE, January 2008.
  • W. Bangerth. Concepts for Object-oriented finite element software - the deal Ⅱ library. 1999.

网络资料

Kratos

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • 用Python来DIY一个AI面部情绪识别API的简单方案
  • Spark+实例解读
  • 安全服务面试
  • java调用WebService接口
  • centos7 docker空间不足
  • 项目经理面试总结
  • JDK8新特性之Lambda表达式快速入门
  • 2024 Java 高分面试宝典 一站式搞定技术面
  • yum install git
  • golang JSON序列化
  • 【Unity2D 2022:UI】TextMeshPro组件无法显示中文
  • Spring Boot中的 6 种API请求参数读取方式
  • 核心线程创建之后是否受keepAliveTime影响?
  • SRv6 和IGP/BGP协议区别
  • 自制熊猫烧香进阶
  • hexo+github搭建个人博客
  • 4月23日世界读书日 网络营销论坛推荐《正在爆发的营销革命》
  • js继承的实现方法
  • JS学习笔记——闭包
  • php ci框架整合银盛支付
  • webpack项目中使用grunt监听文件变动自动打包编译
  • 测试开发系类之接口自动化测试
  • 订阅Forge Viewer所有的事件
  • 发布国内首个无服务器容器服务,运维效率从未如此高效
  • 简析gRPC client 连接管理
  • 为物联网而生:高性能时间序列数据库HiTSDB商业化首发!
  • 一道面试题引发的“血案”
  • 一个项目push到多个远程Git仓库
  • 由插件封装引出的一丢丢思考
  • 栈实现走出迷宫(C++)
  • # Redis 入门到精通(七)-- redis 删除策略
  • #define、const、typedef的差别
  • $(function(){})与(function($){....})(jQuery)的区别
  • (152)时序收敛--->(02)时序收敛二
  • (4)(4.6) Triducer
  • (Git) gitignore基础使用
  • (ISPRS,2021)具有遥感知识图谱的鲁棒深度对齐网络用于零样本和广义零样本遥感图像场景分类
  • (js)循环条件满足时终止循环
  • (ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY)讲解
  • (二)springcloud实战之config配置中心
  • (剑指Offer)面试题34:丑数
  • (免费领源码)python#django#mysql校园校园宿舍管理系统84831-计算机毕业设计项目选题推荐
  • (十一)手动添加用户和文件的特殊权限
  • .[hudsonL@cock.li].mkp勒索病毒数据怎么处理|数据解密恢复
  • .NET 使用 JustAssembly 比较两个不同版本程序集的 API 变化
  • .net 使用$.ajax实现从前台调用后台方法(包含静态方法和非静态方法调用)
  • .NET/C# 检测电脑上安装的 .NET Framework 的版本
  • .net反混淆脱壳工具de4dot的使用
  • .net快速开发框架源码分享
  • .NET框架
  • .NET应用UI框架DevExpress XAF v24.1 - 可用性进一步增强
  • @31省区市高考时间表来了,祝考试成功
  • @data注解_一枚 架构师 也不会用的Lombok注解,相见恨晚
  • @select 怎么写存储过程_你知道select语句和update语句分别是怎么执行的吗?
  • [ 隧道技术 ] 反弹shell的集中常见方式(四)python反弹shell