suntans

所属分类:数学计算
开发工具:Visual C++
文件大小:9804KB
下载次数:39
上传日期:2013-05-14 11:58:42
上 传 者meowderon
说明:  溃坝模拟,斯坦福大学开发,用于计算海浪波长,精度高
(Dam-break simulation, Stanford developed at the University of, used to calculate the the the wavelength of the waves, high precision)

文件列表:
suntans\main\boundaries.c (7141, 2011-04-29)
suntans\main\boundaries.h (798, 2011-04-29)
suntans\main\check.c (11562, 2011-07-20)
suntans\main\check.h (684, 2006-03-29)
suntans\main\cmaps\jet.cmap (1728, 2004-05-30)
suntans\main\defaults.h (1779, 2011-07-20)
suntans\main\diffusion.c (1564, 2011-04-29)
suntans\main\diffusion.h (454, 2011-04-29)
suntans\main\examples\accuracy\accuracy.c (6588, 2005-07-12)
suntans\main\examples\accuracy\accuracy.sh (1411, 2006-07-17)
suntans\main\examples\accuracy\initialization.c (3331, 2005-07-12)
suntans\main\examples\accuracy\Makefile (777, 2011-04-29)
suntans\main\examples\accuracy\rundata\errors.dat (288, 2005-07-12)
suntans\main\examples\accuracy\rundata\oned.dat (1502, 2005-07-12)
suntans\main\examples\accuracy\rundata\suntans.in (4699, 2011-04-29)
suntans\main\examples\accuracy\state.c (929, 2011-04-29)
suntans\main\examples\boundaries\boundaries.c (5047, 2011-04-29)
suntans\main\examples\boundaries\boundaries.sh (868, 2006-07-17)
suntans\main\examples\boundaries\initialization.c (3286, 2005-07-12)
suntans\main\examples\boundaries\Makefile (765, 2011-04-29)
suntans\main\examples\boundaries\rundata\suntans.dat (4748, 2011-04-29)
suntans\main\examples\boundaries\rundata\twod.dat (18551, 2005-07-22)
suntans\main\examples\boundaries\state.c (929, 2011-04-29)
suntans\main\examples\channel\boundaries.c (4486, 2011-04-29)
suntans\main\examples\channel\channel.sh (868, 2006-07-17)
suntans\main\examples\channel\initialization.c (3246, 2005-10-29)
suntans\main\examples\channel\Makefile (746, 2006-07-17)
suntans\main\examples\channel\rundata\suntans.dat (4806, 2011-04-29)
suntans\main\examples\channel\rundata\twod.dat (4877, 2005-10-29)
suntans\main\examples\channel\state.c (931, 2011-04-29)
suntans\main\examples\cylinder\boundaries.c (4168, 2011-04-29)
suntans\main\examples\cylinder\cylinder.sh (681, 2011-04-29)
suntans\main\examples\cylinder\gambit\cylinder.neu (276723, 2007-10-31)
suntans\main\examples\cylinder\initialization.c (3391, 2011-04-29)
suntans\main\examples\cylinder\Makefile (783, 2011-04-29)
suntans\main\examples\cylinder\mfiles\strouhal.m (1040, 2011-04-29)
suntans\main\examples\cylinder\rundata\cells.dat (221823, 2006-12-07)
suntans\main\examples\cylinder\rundata\dataxy.dat (8, 2011-04-29)
suntans\main\examples\cylinder\rundata\edges.dat (111782, 2006-12-07)
suntans\main\examples\cylinder\rundata\points.dat (68976, 2006-12-07)
... ...

How to run this example. For details please see the user guide. ---------------------------------------------------------------- 1) Edit ../../Makefile.in 2) Make sure the paths in the first three lines of setup_tides.m are correct. Also make sure the suntides data is uncompressed by entering the suntides directory and typing "make". 3) Run suntans and create the tidexy.dat files. make test Error will result, complaining of lack of tidecomponent.dat.* files. tidexy.dat.* files are created instead, these contain locations needed by tides.m to create tidecomponent.dat.* files. 4) Run tides.m in matlab, i.e. matlab < tides.m If matlab is installed locally then you can type "make tides" 5) Run the example again with make test 6) Compare the output to OTIS with compare_to_otis.m Note that the edges-3.dat file in rundata/ contains edges of type 3. This can be used to test tidal boundaries of type 3.

近期下载者

相关文件


收藏者