博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
running Fluent on Apocrita Cluster
阅读量:7212 次
发布时间:2019-06-29

本文共 2115 字,大约阅读时间需要 7 分钟。

two files: code.sh, code.jou

code.sh

#!/bin/bash#$ -cwd#$ -j y#$ -m bea#$ -M k.ai@qmul.ac.uk#$ -pe smp 4#$ -l h_rt=24:0:0#$ -l h_vmem=4Gmodule load ansysfluent 3ddp $FLUENT_OPTS -g -t4 -rsh -i code.jou

 code.jou

rc e387_wave.cas.gzrd e387_2550.dat.gzsolve/dual-time-iterate 600 20solve/set/time-step 0.01wd e387_3000.dat.gzexityes

 

More advanced,

rc st_e387_w_hy-14M_open_invisid.cas.gzrd st_e387_w_hy-14M_open_invisid.dat.gz;set drag moment and monitor in y coordinate on "blades" surfacesolve/monitors/force/unscaled? yessolve/monitors/force/set-drag-monitor cd yes blades () no yes thrust-history no no 0 1 0solve/monitors/force/set-moment-monitor moment yes blades () no yes moment-history no no 0 0 0 0 1 0    ;Coupled solver, Coupled with Volume Fractions [no] ;/solve/set p-v-coupling 24  no ;/solve/set/p-v-controls [courant-number] [explicit momentum] [explicit pressure] ;/solve/set/p-v-controls  1 0.5 0.5 ;/solve/set/under-relaxation/k 0.5           ;/solve/set/under-relaxation/epsilon  0.5   ;/solve/set/under-relaxation/turb-viscosity 0.5(display "Save the residual in a file") (newline)    (let ((writefile (lambda (p)    (define np (length (residual-history "iteration")))    (let loop ((i 0))    (if (not (= i np))    (begin (define j (+ i 1))    (display (list-ref (residual-history "iteration") (- np j)) p) (display " " p)    (display (list-ref (residual-history "continuity") (- np j)) p) (display " " p)    (display (list-ref (residual-history "x-velocity") (- np j)) p) (display " " p)    (display (list-ref (residual-history "y-velocity") (- np j)) p) (display " " p)    (display (list-ref (residual-history "z-velocity") (- np j)) p) (display " " p)    (display (list-ref (residual-history "k") (- np j)) p) (display " " p)    (display (list-ref (residual-history "omega") (- np j)) p)    (newline p)    (loop (+ i 1))    )    )    )    ) )    (output-port (open-output-file "residual_1000_e387_udf.dat")))    (writefile output-port)    (close-output-port output-port))solve/iterate 3000wd e387_st_hy_14M_open_channel_3k.dat.gzexityes

 

转载于:https://www.cnblogs.com/code-saturne/p/11019408.html

你可能感兴趣的文章
php中heredoc的使用方法
查看>>
用DevExpress做界面开发:ASP.NET界面开发框架
查看>>
php命令行(cli)下相对路径的问题
查看>>
浅析android应用增量升级
查看>>
Centos查看IP地址
查看>>
python线程安全队列用法
查看>>
easyUI初体验
查看>>
Android屏幕适配和文字屏幕适配
查看>>
Docker CE for CentOS的安装(对官方文档的翻译)
查看>>
数据库设计笔记一
查看>>
VC++六种Runtime Library
查看>>
服务端自动集成-山寨版
查看>>
docker搞个wordpress
查看>>
电商商城系统活动设计
查看>>
su 切换,提示:“密码不正确”;
查看>>
百家搜索:在网站中添加Google、百度等搜索引擎
查看>>
Android gradlew 多渠道打包
查看>>
网络初体验
查看>>
理解SVG的viewport,viewBox【1】
查看>>
flask中的请求上下文
查看>>