ElAM:分析与表示各向异性弹性的计算机程序

需积分: 3 1 下载量 118 浏览量 更新于2024-09-19 收藏 494KB PDF 举报
"这篇资源是一篇发表在《计算机物理学通讯》(Computer Physics Communications)上的学术文章,标题为“ElAM:一个用于分析和表示各向异性弹性的计算机程序”。该程序设计用于处理材料的各向异性弹性特性,作者包括Arnaud Marmier、Zoe A. D. Lethbridge、Richard I. Walton、Christopher W. Smith、Stephen C. Parker以及Kenneth E. Evans,分别来自英国埃克塞特大学、华威大学和巴斯大学的工程、数学和物理科学学院以及化学系。文章在2009年9月11日初次提交,2010年8月6日修订后再次提交,并于2010年8月23日被接受,最终在同年9月22日在线发布。关键词涵盖了弹性性质、各向异性、可视化和数据库等主题。" 本文详细介绍了ElAM,这是一个专为分析和可视化各向异性弹性属性而开发的计算机程序。各向异性是指材料的物理性质在不同方向上有所差异,这是许多材料(如晶体或纤维增强复合材料)的固有特性。在经典弹性理论框架下,虽然各向同性材料的弹性特性可以简单地表示,但对于非各向同性的材料,情况则更为复杂。 文章中,作者可能讨论了如何利用ElAM程序来处理和解析这些复杂的数据,包括计算和表征材料的弹性常数,如剪切模量、体积模量和泊松比等。程序可能还包含了对这些参数的可视化功能,帮助研究人员直观理解材料在不同方向上的应变和应力分布。此外,可能还涉及到了数据库集成,以便存储、检索和比较不同材料的弹性数据。 各向异性材料的分析对于材料科学、地质学、航空航天工程等领域至关重要,因为它们需要理解和预测材料在受力时的行为。ElAM的开发,为这些领域的研究者提供了一种强大的工具,能够更有效地理解和表征复杂材料的弹性行为,从而推动新材料的设计和现有材料性能的优化。通过这个程序,科学家们可以更好地理解材料的微观结构如何影响其宏观力学性能,这对于材料科学的理论研究和实际应用都有着深远的影响。

Write a computer program that could be used to track, by lab, which user is logged into which computer: Lab Number Computer Station Numbers 1 1-5 2 1-6 3 1-4 4 1-3 ➢ You run four computer labs. Each lab contains computer stations that are numbered as the above table. ➢ Each user has a unique ID number. The ID starting with three characters (for example, SWE or DMT), and followed by three digits (like, 001). ➢ Whenever a user logs in, the user’s ID, lab number, and the computer station number are transmitted to your system. For example, if user SWE001 logs into station 2 in lab 3, then your system receives (SWE001, 2, 3) as input data. Similarly, when a user SWE001 logs off a station, then your system receives the user id SWE001. ➢ If a user who is already logged into a computer attempts to log into a second computer, display "invalid login". If a user attempts to log into a computer which is already occupied, display "invalid login". If a user who is not included in the database attempts to log out, display "invalid logoff". 输入格式 If user SWE001 is logged into station 2 in lab 3 and user DMT001 is logged into station 1 of lab 4, use + for logging in, - for logging off, and = for end of input: + SWE001 2 3 + DMT001 1 4 《面向对象程序设计 C++》 2022-2023 春季学期 2 / 4 - SWE001 = 输出格式 The status of all labs (who is logged into which computer). Otherwise, display invalid login or invalid logoff. You need to display the status of all labs even when the input is invalid.

2023-06-01 上传

Write a computer program that could be used to track users' activities. Lab Number Computer Station Numbers 1 1-3 2 1-4 3 1-5 4 1-6  You run four computer labs. Each lab contains computer stations that are numbered as the above table.  There are two types of users: student and staff. Each user has a unique ID number. The student ID starts with three characters (for example, SWE or DMT), and is followed by three digits (like, 001). The staff ID only contains digits (for example: 2023007).  Whenever a user logs in, the user’s ID, lab number, the computer station number and login date are transmitted to your system. For example, if user SWE001 logs into station 2 in lab 3 in 01 Dec, 2022, then your system receives (+ SWE001 2 3 1/12/2022) as input data. Similarly, when a user SWE001 logs off in 01 Jan, 2023, then your system receives receives (- SWE001 1/1/ 2023). Please use = for end of input.  When a user logs in or logs off successfully, then display the status of stations in labs. When a user logs off a station successfully, display student id of the user, and the number of days he/she logged into the station.  When a user logs off, we calculate the price for PC use. For student, we charge 0 RMB if the number of days is not greater than 14, and 1 RMB per day for the part over 14 days. For staff, we charge 2 RMB per day if the number of days is not greater than 30, and 4 RMB per day for the part over 30 days.  If a user who is already logged into a computer attempts to log into a second computer, display "invalid login". If a user attempts to log into a computer which is already occupied, display "invalid login". If a user who is not included in the database attempts to log off, display "invalid logoff".

2023-06-01 上传