BlenderにAC3Dのアドオンをインストール

このアドオンを使う
github.com

~/Library/Application Support/Blender/2.83/scripts/addons/ にダウンロードしてきた io_scene_ac3d をフォルダごと保存する。

PreferencesのAddonsを選択肢、AC3Dのアドオンを有効化する。

Blender2.83LTSを用いた 
Blender2.9は非対応らしい(アドオンが読み込まれなかった)

f:id:seinzumtode:20201118215825j:plain

ロケットのNG&C

www.youtube.com

ターミナルでのFlightGearの起動

/Applications/FlightGear.app/Contents/MacOS/fgfs --fg-root=/Applications/FlightGear.app/Contents/Resources/data  --aircraft=rocket --fdm=network,localhost,5501,5502,5503 --fog-fastest --disable-clouds  --disable-sound --in-air --enable-freeze  --altitude=10000 --offset-distance=4.72 --offset-azimuth=0 --enable-rembrandt --timeofday=noon

レポジトリ
github.com

ロケット
https://raw.githubusercontent.com/shohei/ngc-simulink/master/image/rocket.png

飛行画像
https://raw.githubusercontent.com/shohei/ngc-simulink/master/image/flight.png

Google chrome helperを無効にする

Activity monitorを確認するとGoogle Chrome HelperがCPUを専有していた
Kill processしても再起動されてしまうので、launchctlから取り除く

高CPUプロセスのGoogle Chrome HelperのPIDが29560とする。

$ launchctl list | ag 29560

29560	-9	com.google.Chrome.framework.service_process/Users/shohei/Library/Application_Support/Google/Chrome

$ launchctl remove com.google.Chrome.framework.service_process/Users/shohei/Library/Application_Support/Google/Chrome

対流と移流

physics.stackexchange.com

Convection is the movement of a fluid, typically in response to heat.

Advection is the movement of some material dissolved or suspended in the fluid.

対流は流体の移動。典型的には熱を受けた際の動き。

移流は溶媒に溶解する物質の移動。

MacでターミナルからFlightGearを起動

/Applications/FlightGear.app/Contents/MacOS/fgfs --fg-root=/Applications/FlightGear.app/Contents/Resources/data  --aircraft=HL20 --fdm=network,localhost,5501,5502,5503 --fog-fastest --disable-clouds --start-date-lat=2004:06:01:09:00:00 --disable-sound --in-air --enable-freeze --airport=KSFO --runway=10L --altitude=7224 --heading=113 --offset-distance=4.72 --offset-azimuth=0 --enable-rembrandt