当前位置: 首页 > 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

http://www.lryc.cn/news/411772.html

相关文章:

  • 汽车-腾讯2023笔试(codefun2000)
  • 软测面试二十问(最新面试)
  • 风吸杀虫灯采用新型技术 无公害诱虫捕虫
  • 随手记录第十二话 -- JDK8-21版本的新增特性记录(Lambda,var,switch,instanceof,record,virtual虚拟线程等)
  • SpringCloud网关 SpringBoot服务 HTTP/HTTPS路由/监听双支持
  • JavaScript做网页是否过期的处理
  • python coding时遇到的问题
  • 攻防演练号角吹响,聚铭铭察高级威胁检测系统助您零失分打赢重保攻坚战
  • 个人量化交易兴起!有什么好用的量化软件推荐?迅投QMT量化平台简介!
  • SQL labs-SQL注入(七,sqlmap对于post传参方式的注入,2)
  • SAM 2: Segment Anything in Images and Videos
  • 软件测试面试,如何自我介绍?
  • 力扣第四十七题——全排列II
  • Springer旗下中科院2区TOP,国人优势大!
  • 【C++】C++入门知识详解(下)
  • 分压电阻方式的ADC电压校准
  • 使用Postman测试API短轮询机制:深入指南
  • 明清进士人数数据
  • C# 串口通信(通过serialPort控件发送及接收数据)
  • 数据安全的新盾牌:SQL Server数据库镜像技术详解
  • 【C语言版】数据结构教程(一)绪论(上)
  • 酒后为什么总感觉渴?
  • Docker安装OwnCloud私有云盘对接ceph
  • 创建了Vue项目,需要导入什么插件以及怎么导入
  • abstract 关键字
  • 用Python编写你的网络监控系统详解
  • 操作系统——虚拟内存
  • Zoom视频会议软件使用
  • MVC软件设计模式及QT的MVC架构
  • 使用WSL通过SSH连接并运行图形界面程序