Method for remotely submitting finite element calculation based on local area network

The method improves finite element analysis efficiency by using a local area network with TCP/IP communication and parallel processing ports, enabling efficient file transfer and simultaneous access for multiple users.

CN119071286APending Publication Date: 2024-12-03ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411182786.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing methods for finite element analysis are inefficient in file transfer between modeling and analysis computers, limiting simultaneous access by multiple users and requiring frequent login to the analysis computer during debugging.

Method used

A method utilizing a local area network with TCP/IP communication, creating multiple ports on the analysis computer for parallel processing, and using a client APP on the modeling computer to establish communication with these ports for file transfer, along with shared folders and system server applications to manage and execute analysis tasks.

Benefits of technology

Enhances file transfer efficiency and work efficiency by allowing simultaneous access and streamlined file transfer between modeling and analysis computers, improving the overall workflow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071286A_ABST
    Figure CN119071286A_ABST
Patent Text Reader

Abstract

The invention discloses a method for remotely submitting finite element calculation based on a local area network, which comprises the following steps of: setting an analysis computer and a modeling computer to be in communication connection through a TCP / IP (Transmission Control Protocol / Internet Protocol) network, so that the analysis computer and the modeling computer are positioned in the same local area network; a plurality of ports are created in an analysis computer, the created ports are numbered in a user-defined manner, communication of parallel processes among different ports is established, and each port is set to be in a blocked state and waits for receiving information. A client APP is arranged on a modeling computer, demand information of analysis and calculation is obtained through the client APP, and then communication with a corresponding analysis computer port is established through an extracted analysis computer IP address and a port number, so that an analysis task is sent to the analysis computer through the port. The file transmission efficiency can be improved, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer-aided simulation analysis, and more specifically, to a method for remotely submitting finite element calculations based on a local area network. Background Art

[0002] With the rapid development of simulation technology, finite element simulation analysis technology has entered all walks of life. Finite element analysis calculation is an important task in product development. In the process of finite element analysis calculation, finite element modeling software and finite element analysis software are often independent. After building the model, you need to submit the calculation to the corresponding calculation software. Finite element modeling and finite element analysis have different requirements for computer hardware, and are usually completed on different computers. After completing finite element modeling on the modeling computer, transfer the file to the analysis computer for analysis and calculation.

[0003] The first prior art is to complete the submission of analysis and calculation tasks through remote desktop. After completing the file transfer, the analysis computer is logged in through remote desktop on the modeling computer, and then the analysis and calculation tasks are submitted on the computer. This method can only meet the needs of one staff member logging in to the analysis computer through remote desktop at the same time, and cannot meet the needs of multiple staff members logging in to the analysis computer at the same time. At the same time, it is necessary to frequently log in to the analysis computer during model debugging. The second prior art is to complete the submission of analysis and calculation tasks through different workstations. After completing the file transfer, the staff member walks from the modeling computer workstation to the analysis computer workstation, and then submits the analysis and calculation tasks on the analysis computer. This method is only applicable to scenarios that are very close to the modeling computer workstation and the analysis computer workstation. Therefore, how to conveniently and quickly realize file transfer between the modeling computer and the analysis computer to improve the work efficiency of finite element analysis is of great significance. Summary of the invention

[0004] The present invention provides a method for remotely submitting finite element calculations based on a local area network, which solves the problem of inconvenient file transmission between a modeling computer and an analysis computer during existing finite element simulation analysis, and can improve file transmission efficiency and work efficiency.

[0005] To achieve the above objectives, the present invention provides the following technical solutions:

[0006] A method for remotely submitting finite element calculations based on a local area network, comprising:

[0007] Set up the analysis computer and the modeling computer to communicate via TCP / IP network so that the analysis computer and the modeling computer are in the same local area network;

[0008] Create multiple ports on the analysis computer, and assign custom numbers to the created ports. Establish parallel process communication between different ports, and set each port in a blocked state, waiting to receive information.

[0009] Set up a client APP on the modeling computer, and obtain the analysis and calculation requirements information through the client APP, then extract the analysis computer IP address and port number, and establish communication with the corresponding analysis computer port to send the analysis task to the analysis computer through the port.

[0010] Preferably, it also includes:

[0011] After the analysis computer accepts the analysis task, it selects the corresponding analysis and calculation software according to the requirements of the analysis task and submits the analysis and calculation;

[0012] After the submission is completed, the port of the analysis computer completes the communication and returns to the blocked state to wait for new information.

[0013] Preferably, it also includes:

[0014] Install system server applications and special software used for analysis and calculation on the analysis computer, create a shared folder on the corresponding disk, and share the storage space for calculation files in the form of folder sharing.

[0015] Preferably, it also includes:

[0016] The modeling computer extracts the IP address and port of the analysis computer in the local area network through the client APP and establishes communication to send the calculation file to the shared folder of the analysis computer.

[0017] Preferably, it also includes:

[0018] Start the client APP on the modeling computer, and select relevant information input according to the prompts on the interface of the client APP to extract the input information required to submit the analysis task;

[0019] Establish communication with the corresponding port of the analysis computer and send the information required to submit the analysis task to the analysis computer.

[0020] Preferably, it also includes:

[0021] The system server application on the analysis computer receives the information of the analysis task sent by the client APP on the modeling computer, and the analysis computer submits the analysis calculation task after analysis.

[0022] Preferably, the step of selecting relevant information to be inputted in accordance with the prompts on the interface of the client APP includes:

[0023] Select the calculation file that needs to be submitted for analysis and calculation in the shared folder;

[0024] Set the number of CPUs on the analysis computer required for analysis calculations;

[0025] Select the shared folder created in the first step of hardware and software settings located on the corresponding disk of the analysis computer;

[0026] Select the port number used to implement the communication port.

[0027] Preferably, the analysis computer submits the analysis and calculation task after analysis, including:

[0028] Create an absolute path for the analysis file on the analysis computer based on the path of the calculation file in the shared folder and the disk information of the shared folder on the analysis computer;

[0029] The suffix of the file name is extracted according to the information of the file name, and the analysis and calculation software that needs to be called for the analysis task is identified according to the extracted suffix information.

[0030] Preferably, the analysis computer submits the analysis and calculation task after analysis, and further comprises:

[0031] The absolute path, file name and number of CPU resources called of the calculation file are used to generate a batch file according to the format requirements of the batch processing submission analysis task of the analysis calculation software, and the generated batch file is saved in the same path as the calculation file.

[0032] Preferably, the analysis computer submits the analysis and calculation task after analysis, and further comprises:

[0033] Call Windows to run the batch file, complete the submission of the analysis task, and send the information that the analysis task has been submitted to the client APP on the modeling computer to release the corresponding communication port, set the port in a blocked state, and wait for a new connection request from the client APP on the modeling computer.

[0034] The present invention provides a method for remotely submitting finite element calculations based on a local area network. Under the premise of the same local area network, the analysis computer opens different ports to realize parallel processes to complete the submission of analysis and calculation tasks, and uses the client APP on the modeling computer to extract the demand information for submitting analysis and calculation, and establishes communication with the analysis computer port to send the analysis task to the analysis computer. The problem of inconvenient file transmission between the modeling computer and the analysis computer during the current finite element simulation analysis is solved, and the file transmission efficiency can be improved, and the work efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the specific embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below.

[0036] Figure 1 It is a schematic diagram of a method for remotely submitting finite element calculations based on a local area network provided by the present invention.

[0037] Figure 2 It is an execution flow chart of remote submission of finite element calculation based on a local area network provided by an embodiment of the present invention.

[0038] Figure 3 The present invention provides an example of a flow chart of analyzing a computer implementing port parallel process communication.

[0039] Figure 4 It is a schematic diagram of the interface of the client APP provided in an embodiment of the present invention.

[0040] Figure 5 It is a flow chart of a modeling computer sending a request to submit an analysis task provided by an embodiment of the present invention.

[0041] Figure 6 It is a flow chart of an analysis computer submitting an analysis and calculation task provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to enable persons skilled in the art to better understand the solutions of the embodiments of the present invention, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and implementation modes.

[0043] In view of the problem that file transmission between modeling computers and analysis computers is inconvenient during current finite element simulation analysis, the present invention provides a method for remotely submitting finite element calculations based on a local area network, which solves the problem that file transmission between modeling computers and analysis computers is inconvenient during current finite element simulation analysis, can improve file transmission efficiency, and improve work efficiency.

[0044] like Figure 1 As shown, a method for remotely submitting finite element calculation based on a local area network includes:

[0045] S1: Set up the analysis computer and the modeling computer to be connected via TCP / IP network communication so that the analysis computer and the modeling computer are in the same local area network.

[0046] S2: Create multiple ports on the analysis computer, custom number the created ports, establish parallel process communication between different ports, and set each port in a blocking state, waiting to receive information.

[0047] S3: Set up the client APP on the modeling computer, and obtain the analysis and calculation requirements through the client APP, then extract the analysis computer IP address and port number, and establish communication with the corresponding analysis computer port to send the analysis task to the analysis computer through the port.

[0048] Specifically, computer TCP network communication technology is used to complete the transmission of information and files between different computers, so as to complete the submission of analysis tasks from the modeling computer to the analysis computer based on the same local area network. Figure 2 As shown, the analysis computer creates N ports, and at the same time, the created ports are numbered customarily, and the communication of parallel processes between different ports is realized, and each port is set in a blocked state to wait for receiving information. The modeling computer obtains the demand information for analysis and calculation through the interface of the system client APP, and then establishes communication with the port of the corresponding analysis computer through the extracted analysis computer IP address and port number, and then sends the analysis task through the port. After the analysis computer accepts the analysis task, it selects the corresponding calculation software according to the analysis task requirements to submit the analysis and calculation. After the submission is completed, the port of the analysis computer completes the communication and returns to a blocked state to wait for new information. This method can solve the problem of inconvenient file transfer between the modeling computer and the analysis computer during the current finite element simulation analysis, and can improve the efficiency of file transfer and work efficiency.

[0049] The method further includes:

[0050] After the analysis computer accepts the analysis task, it selects the corresponding analysis and calculation software according to the requirements of the analysis task and submits the analysis and calculation.

[0051] After the submission is completed, the port of the analysis computer completes the communication and returns to the blocked state to wait for new information.

[0052] The method also includes: installing a system server application and special software used for analysis calculation on the analysis computer, creating a shared folder on the corresponding disk, and sharing the storage space for storing calculation files in a folder sharing manner.

[0053] The method also includes: the modeling computer extracts the IP address and port of the analysis computer in the local area network through the client APP and establishes communication to send the calculation file to the shared folder of the analysis computer.

[0054] In actual application, the system server application and the analysis software used for analysis calculation are installed on the analysis computer, a shared folder is created on the corresponding disk, and the storage space for calculation files is shared in the form of folder sharing; the system client application is installed on the modeling computer, and the file transfer capability of the shared folder of the analysis computer is established through the IP address of the analysis computer in the local area network. Figure 3 As shown, the analysis computer port realizes parallel process communication: start the system server application on the analysis computer, create N custom communication ports on the analysis computer (the number of ports N is defined according to the hardware of the analysis computer and the required number of parallel submission tasks), and the communication between each port is a parallel process, so that the communication between ports does not interfere with each other. Each port automatically identifies the IP address of the analysis computer, and then uses the computer TCP communication technology to establish communication with the modeling computer through the IP address and the respective port number, and sets each port in a blocked state, waiting for the connection request of the system client on the modeling computer.

[0055] The method also includes sending a request to submit the analysis task by the modeling computer:

[0056] Start the client APP on the modeling computer, and select relevant information input according to the prompts on the interface of the client APP to extract the input information required to submit the analysis task.

[0057] Establish communication with the corresponding port of the analysis computer and send the information required to submit the analysis task to the analysis computer.

[0058] Furthermore, the client APP selects relevant information input according to the prompts on the interface, including:

[0059] Select the calculation file that needs to be submitted for analysis and calculation in the shared folder;

[0060] Set the number of CPUs on the analysis computer required for analysis calculations;

[0061] Select the shared folder created in the first step of hardware and software settings located on the corresponding disk of the analysis computer;

[0062] Select the port number used to implement the communication port.

[0063] Specifically, the interface of the client APP is as follows: Figure 4As shown, according to the selected information, the path, file name, IP address, number of CPU resources and communication port number of the calculation file on the analysis computer are extracted. The client uses the computer TCP network communication technology to establish communication with the port on the corresponding analysis computer according to the selected port number and the IP address of the analysis computer, and sends the path, file name, disk information of the shared folder on the analysis computer and number of CPU resources required for submitting the analysis task to the corresponding analysis computer, as shown in FIG. Figure 5 shown.

[0064] The method also includes: a system server application on the analysis computer receives information about the analysis task sent by the client APP on the modeling computer, and the analysis computer submits the analysis calculation task after analysis.

[0065] Further, the analysis computer submits the analysis and calculation task after analysis, including:

[0066] Create an absolute path for the analysis file on the analysis computer based on the path of the calculation file in the shared folder and the disk information of the shared folder on the analysis computer;

[0067] The suffix of the file name is extracted according to the information of the file name, and the analysis and calculation software that needs to be called for the analysis task is identified according to the extracted suffix information.

[0068] Further, the analysis computer submits the analysis and calculation task after analysis, and further comprises:

[0069] The absolute path, file name and number of CPU resources called of the calculation file are used to generate a batch file according to the format requirements of the batch processing submission analysis task of the analysis calculation software, and the generated batch file is saved in the same path as the calculation file.

[0070] Further, the analysis computer submits the analysis and calculation task after analysis, and further comprises:

[0071] Call Windows to run the batch file, complete the submission of the analysis task, and send the information that the analysis task has been submitted to the client APP on the modeling computer to release the corresponding communication port, set the port in a blocked state, and wait for a new connection request from the client APP on the modeling computer.

[0072] Specifically, Figure 6As shown, under the premise of the same local area network, the parallel process is realized by opening different ports of the analysis computer to complete the submission of analysis and calculation tasks. The file name, file path, analysis computer disk to which the file belongs, the number of CPU resources called and port number information required for submitting analysis and calculation and establishing communication with the analysis computer port are extracted by using the system client interface on the modeling computer. The IP address of the analysis computer is extracted from the path of the shared file, and the extracted IP address and port number are used to establish communication with the corresponding analysis computer, and the information required for submitting the analysis task is passed to the system server on the analysis computer. The server on the analysis computer receives the information required for submitting the analysis task sent by the system client on the modeling computer, establishes the absolute path of the file on the analysis computer through the file path and the analysis computer disk information to which the file belongs, identifies the software required for analysis and calculation through the suffix of the file name, and then generates a batch file for batch submission of analysis and calculation tasks according to the established absolute path, file name, number of CPU resources called and the format requirements of the analysis software batch processing, and saves the batch file to the same path as the calculation file, and then calls the Windows run batch file on the analysis computer to complete the submission of the analysis and calculation task. After completing the submission of the analysis and calculation task, the system server on the analysis computer sends the information that the analysis and calculation task submission is completed to the system client on the modeling computer, releases the corresponding port on the analysis computer again, sets the port to a blocked state, and waits for a new connection request from the system client on the modeling computer.

[0073] It can be seen that the present invention provides a method for remotely submitting finite element calculations based on a local area network. Under the premise of the same local area network, the analysis computer opens different ports to realize parallel processes to complete the submission of analysis and calculation tasks, and uses the client APP on the modeling computer to extract the required information for submitting analysis and calculation, and establishes communication with the analysis computer port to send the analysis task to the analysis computer. The problem of inconvenient file transmission between the modeling computer and the analysis computer during the current finite element simulation analysis is solved, and the file transmission efficiency can be improved, and the work efficiency can be improved.

[0074] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made in accordance with the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.

Claims

1. A method for remotely submitting finite element calculations based on a local area network, characterized in that: include: Set up the analysis computer and the modeling computer to communicate via TCP / IP network so that the analysis computer and the modeling computer are in the same local area network; Create multiple ports on the analysis computer, and assign custom numbers to the created ports. Establish parallel process communication between different ports, and set each port in a blocked state, waiting to receive information. Set up a client APP on the modeling computer, and obtain the analysis and calculation requirements information through the client APP, then extract the analysis computer IP address and port number, and establish communication with the corresponding analysis computer port to send the analysis task to the analysis computer through the port.

2. The method for remotely submitting finite element calculations based on a local area network according to claim 1, characterized in that: Also includes: After the analysis computer accepts the analysis task, it selects the corresponding analysis and calculation software according to the requirements of the analysis task and submits the analysis and calculation; After the submission is completed, the port of the analysis computer completes the communication and returns to the blocked state to wait for new information.

3. The method for remotely submitting finite element calculations based on a local area network according to claim 2, characterized in that: Also includes: Install system server applications and special software used for analysis and calculation on the analysis computer, create a shared folder on the corresponding disk, and share the storage space for calculation files in the form of folder sharing.

4. The method for remotely submitting finite element calculations based on a local area network according to claim 3, characterized in that: Also includes: The modeling computer extracts the IP address and port of the analysis computer in the local area network through the client APP and establishes communication to send the calculation file to the shared folder of the analysis computer.

5. The method for remotely submitting finite element calculations based on a local area network according to claim 4, characterized in that: Also includes: Start the client APP on the modeling computer, and select relevant information input according to the prompts on the interface of the client APP to extract the input information required to submit the analysis task; Establish communication with the corresponding port of the analysis computer and send the information required to submit the analysis task to the analysis computer.

6. The method for remotely submitting finite element calculations based on a local area network according to claim 5, characterized in that: Also includes: The system server application on the analysis computer receives the information of the analysis task sent by the client APP on the modeling computer, and the analysis computer submits the analysis calculation task after analysis.

7. The method for remotely submitting finite element calculations based on a local area network according to claim 6, characterized in that: The client APP selects relevant information input according to the prompts on the interface, including: Select the calculation file that needs to be submitted for analysis and calculation in the shared folder; Set the number of CPUs on the analysis computer required for analysis calculations; Select the shared folder created in the first step of hardware and software settings located on the corresponding disk of the analysis computer; Select the port number used to implement the communication port.

8. The method for remotely submitting finite element calculations based on a local area network according to claim 7, characterized in that: The analysis computer submits the analysis and calculation task after analysis, including: Create an absolute path for the analysis file on the analysis computer based on the path of the calculation file in the shared folder and the disk information of the shared folder on the analysis computer; The suffix of the file name is extracted according to the information of the file name, and the analysis and calculation software that needs to be called for the analysis task is identified according to the extracted suffix information.

9. The method for remotely submitting finite element calculations based on a local area network according to claim 8, characterized in that: The analysis computer submits the analysis and calculation task after analysis, and also includes: The absolute path, file name and number of CPU resources called of the calculation file are used to generate a batch file according to the format requirements of the batch processing submission analysis task of the analysis calculation software, and the generated batch file is saved in the same path as the calculation file.

10. The method for remotely submitting finite element calculations based on a local area network according to claim 9, characterized in that: The analysis computer submits the analysis and calculation task after analysis, and also includes: Call Windows to run the batch file, complete the submission of the analysis task, and send the information that the analysis task has been submitted to the client APP on the modeling computer to release the corresponding communication port, set the port in a blocked state, and wait for a new connection request from the client APP on the modeling computer.