- 博客(15)
- 资源 (3)
- 收藏
- 关注
原创 DEALII 安装教程 - ubuntu 从零安装
dealii是优秀的开源有限元框架,但是其依赖的安装包环境十分复杂,本人手动编译遇到太多错误,目前通过candi可以成功编译。
2022-04-23 01:19:10
2850
1
原创 【COMSOL】修改内置物理场方程 模拟水沸腾的蒸汽泡运动
在COMSOL中通过弱贡献(weak contribution)节点,可以向任何内置模型方程中添加约束。这里,以模拟水沸腾的蒸汽泡运动为例,来讲一讲当我们研究的方程与模块方程不一样时,应该怎么增加新的贡献项。
2021-12-27 15:29:43
8049
15
原创 【COMSOL】预告 模拟水蒸气气泡在开水中的上升过程
在中文网站搜索很久无果,B站上有人发模拟效果图吸引人去花钱购买。其实,就是搬运国外技术咨询公司的案例。我准备花点时间学一学,把方法写在这里。教程连接:点这里参数下载:点这里...
2021-12-26 11:51:33
1860
原创 【COMSOL】外部材料接口定义线性硬化形式的弹塑性材料
这也是官方网站上的案例(linear_hardening.mph),但是下载的DLL文件不能正确地计算雅可比矩阵,导致计算中断,需要重新编译:gcc -shared -o elastic_plastic.dll .\elasric_plastic.c我上传了编译的dll文件,需要的可以下载,在我的win10上能够运行成功。...
2021-12-23 20:50:52
3740
原创 comsol与matlab连接使用学习笔记 3 matlab外部函数与参数化扫描的综合应用
通过matlab实现参数扫面与定义域内材料属性分布
2021-12-18 22:55:31
6228
4
原创 comsol与matlab连接使用学习笔记 1 基础设置
comsol livelink for Matlab 的学习笔记,从安装设置到案例
2021-12-13 16:42:57
9249
3
原创 leetcode -easy- 1. Two Sum [Python]
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same ...
2019-08-20 17:50:51
149
原创 leetcode -easy- 771. Jewels and Stones [Python]
You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the st...
2019-08-20 10:44:14
141
原创 leetcode -easy- 1108. Defanging an IP Address【Python】
问题:Given a valid (IPv4) IP address, return a defanged version of that IP address.A defanged IP address replaces every period “.” with “[.]”.我的思路是用split(".")分割str, 再用 + “[.]” 拼接:class Solution(objec...
2019-08-20 10:28:30
252
原创 Python generator ------ 打印杨辉三角
用 for 循环来遍历列表中所有值,一般做法是首先用range(i,j)生成这个列表g = range(1, 20)for i in g: print(i)我们可以创建一个generator类型的变量g,g = (x for x in range(1, 20))for i in g: print(i)实现同样的效果.我们也可以自定义一个返回值类型为generator的函数,比...
2019-08-20 01:17:46
248
COMSOL模型+matlab外部函数与参数化扫描应用案例+随机杨氏模量对结构内应力影响
2021-12-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人