CN104899020A - CFD program development method integrating web technology - Google Patents

CFD program development method integrating web technology Download PDF

Info

Publication number
CN104899020A
CN104899020A CN201510223696.9A CN201510223696A CN104899020A CN 104899020 A CN104899020 A CN 104899020A CN 201510223696 A CN201510223696 A CN 201510223696A CN 104899020 A CN104899020 A CN 104899020A
Authority
CN
China
Prior art keywords
cfd
web
program
cfd program
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510223696.9A
Other languages
Chinese (zh)
Inventor
刘铁钢
何晓峰
赵越
唐绍婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201510223696.9A priority Critical patent/CN104899020A/en
Publication of CN104899020A publication Critical patent/CN104899020A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides a CFD program development method integrating a web technology, and relates to development and deployment of a CFD program and integration of a web technology. The method comprises: a CFD developer developing a core function according to an algorithm and needs, and then deploying a CFD program to a server; and a web developer developing a web front-end user interface, and docking the web front-end user interface with the CFD program in a background. After a joint debugging test of the CFD program and a web platform is completed, the CFD program is deployed and brought online, and is open for use by authorized users. Compared with the prior art, the present invention has the following advantages: 1). the CFD core function development is separated from GUI interface development, thereby allowing developers to focus on areas of their strength; 2). the web technology is introduced to develop the front-end user interface, thereby greatly accelerating GUI interface development and achieving a cross-platform feature; and 3). accessibility of the CFD program is greatly expanded, so that a user can execute and manage the CFD program through the Internet, and obtain an execution result. The present invention can make full use of development convenience brought by the web technology to rapidly develop a user-friendly interface, is practical, and is easy to be promoted.

Description

A kind of CFD program developing method of integrated web technology
Technical field
The present invention relates to computer software application and Fluid Mechanics Computation field, specifically a kind of CFD program developing method of integrated web technology.
Background technology
Fluid Mechanics Computation (Computational Fluid Dynamics, CFD) early-stage development comes from the demand of aerospace field.Along with the fast development of computer technology and the increasingly mature of CFD technology, CFD plays more and more important effect in industrial application such as Aero-Space, boats and ships naval vessels, meteorology, petroleum prospecting, car conour designs.
CFD technology can coordinate or replace part Experiment (as wind tunnel experiment, Engine Block Test), to reduce experiment number and test duration, reaches the object of saving experiment fees.
CFD can make up the deficiency of Physical Experiment in the flowing detail analysis, flow field study mechanism, expansion flow parameter scope etc. of fluid are many simultaneously, for industry manufacture provides directly available information, thus improves the level that becomes more meticulous of industrial design.
In order to play the advantage of CFD and make it play due effect in actual applications, the highly reliable CFD program of high-performance is absolutely necessary precondition.
Consider for performance, CFD program mainly uses the compiling type programming language of the contour performance of C/C++/FORTRAN to develop.The program that uses these programming languages to develop performs efficient, but exploitation and debugging cycle long.The program of many CFD researchist's exploitations only achieves Core Feature, and is the program run by order line (Command Line Interface, CLI) mode.CLI program feature is better, but friendly not to user: user needs skillfully to grasp its command usage could trouble-free operation program.And to develop user-friendly user interface (Graphical User Interface, GUI) be not generally the technical ability that CFD researchist is good at.
The CFD program developing integrated traditional gui interface needs a large amount of extra work and code, and develops GUI and generally also depend on operating system, there is the problem of transplantability.
Along with the rise of internet, its interconnection and mobile characteristic easily have not only had a deep effect on the aspects such as people's live and work, also make the thinking in programming field and direction there occurs great change: cross-platform programming language and web development language flourish.Cross-platform programming language such as such as Java, C# etc., the web such as PHP, JavaScript, Python develop the favor that script is more and more subject to developer.Although sacrifice some performances, the characteristic that these language have substantially " once write, everywhere run ", can left-hand seat fast, and develops and debug very convenient.
Application in conjunction with the exploitation of the web back-end technology such as web front-end technology and PHP such as HTML, CSS, JavaScript has natural cross-platform and carry the feature of graphic user interface (GUI): web technology represent based on browser, cross-platform problem is responsible for by browser, alleviates the burden of developer; And element is all visual on browser interface, user can be clicked by mouse or touch complete operation;
Internet everywhere addressable feature adds the web platform using correlation technique exploitation, and user can complete background service program management, without the need to linking server by conventional terminal again by browser.
In order to allow CFD program development make full use of the advantage in nowadays flourish web technology and the convenience in exploitation, need a kind of CFD program developing method of integrated web technology badly.
Summary of the invention
In order to solve the problems of the technologies described above, the present invention proposes a kind of CFD program developing method of integrated web technology.The technical assignment of the method solves the slow and difficult problem of the CFD program of the integrated gui interface of exploitation, provides a kind of CFD program quick development method of integrated web technology.
Technical scheme implementation process of the present invention is as follows:
Step one: developer, according to theory of algorithm and functional requirement, develops the Core Feature of CFD program.Here Core Feature mainly refers to the computing function of CFD program, and is used for the user interface of graphic operation without the need to exploitation;
Step 2: CFD program division is deployed to server, guarantees that it can normally run on the server.Because the hardware environment of developing engine and the server of deployment may there are differences, so take to dispose from the mode of compilation of source code, the software and hardware of the program making compiling more adaptation server, to improve program feature and counting yield;
Step 3: according to business demand exploitation web interface, shown by the interface of CFD program with the form of page elements to user, user can understand operation and meaning thereof by visual web interface element;
Step 4: the operation requests of exploitation web backstage response user.Perform relevant operation to CFD program, need to dock with it according to CFD interface, and result is fed back to user;
Step 5: dispose web server.Deployment web server comprises:
1) according to web development platform, suitable web terminal service routine is selected.Such as use PHP as the development language of web rear end, the combination of nginx+php-fpm can be used;
2) according to security and access control requirement, the security setting such as configuration web services port, fire wall and trusted request source;
3) authority of web services process is configured, can the normal call CFD program of disposing; Guarantee that the resource needed for program execution can both normally obtain;
4) improve mandate and the security mechanism of web platform, the operation guaranteeing user all completes under mandate, avoids server resource to be stolen by malicious user or malicious user gets around the safe and stable operation that security mechanism threatens server;
5) carry out uniting and adjustment test with CFD program, guarantee that function is good for use, program is run according to exploitation expection.
Step 6: deployment system is reached the standard grade, opens to authorized user; User can check in web terminal and manage CFD task after authorizing, and downloads execution result by web terminal.
The beneficial effect that the present invention produces compared with prior art means is:
1. the exploitation of the exploitation of CFD Core Feature and gui interface is peeled off by the present invention, allows exploitation staff concentration in the field of being good at separately, improves the performance of program;
2. the present invention makes full use of the exploitation and debugging convenience that web technology brings, and can develop rapidly user-friendly gui interface, improve Consumer's Experience;
3. the interface that the CFD program developing method exploitation of integrated web technology provided by the invention obtains has natural cross-platform characteristic: user only needs browser namely to may have access to, and has nothing to do with operating system;
4. present invention reduces GUI construction cycle and the bug debug time of CFD program, reduce development difficulty and cost, alleviate the burden of application developer;
5. the advantage that makes full use of internet of method provided by the invention, allows user no longer be confined to pc platform to the management of CFD and operation, also can use in mobile terminal and operate;
6. the CFD program developing method of a kind of integrated web technology provided by the invention is practical, is easy to promote.
Accompanying drawing explanation
Fig. 1 is the CFD program development process flow diagram of integrated web technology of the present invention;
Fig. 2 is the web interface figure of the newly-built CFD program task of user;
Fig. 3 is user management and the web interface figure checking CFD task.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, clear, complete description is carried out to the method in the embodiment of the present invention.Described embodiment is only a part of embodiment of the present invention, instead of all.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
As shown in Figure 1, first the CFD program developing method of a kind of integrated web technology provided by the invention allows CFD developer develop Core Feature and the module of CFD program, then CFD program division is deployed to server end and makes it normally provide service.Meanwhile, developer, according to design and requirement developing web user interface, develops web backstage docking CFD program afterwards.Need in the performance history of web backstage dock with it according to the interface of CFD program and call.Carry out system integration and test test after having developed, to ensure web program and CFD program function normally, coupled system performs according to expected design.After uniting and adjustment have been tested, deployment system is reached the standard grade, and open to the user authorized, and provides the CFD execution based on web and the service such as management.The present invention takes full advantage of the cross-platform of web technology and exploitation convenience, can develop the integrated CFD program to user friendly gui interface quickly and efficiently.
A kind of specific operation process of CFD program developing method of integrated web technology is:
1, CFD developer develops the Core Feature of CFD program.In the present embodiment, the function of CFD program uses wave-front method (Advancing Front Technique, AFT) to generate Two-Dimension Unstructured Grids.The program of exploitation is CLI application, and user can at input parameter under order line, and then program reads primary data, produces unstrctured grid and outputs to file etc.
2, CFD program division is deployed to server.In order to improve CFD program feature, first the mode of source code is deployed to server, the software and hardware for server is optimized the executable file that then compiling disposes CFD program.
3, web interface is developed.In order to allow user have good experience, its color matching of the web interface element developed is based on undertint.Element in web user interface is visual and understandable, and user can understand its implication without the need to professional training.The web interface that the present embodiment is developed is as shown in accompanying drawing 2, accompanying drawing 3.
4, develop web backstage, monitor and respond the operation requests of user and fed back.The function relating to CFD program management needs to dock with it with reference to the interface of CFD program.In the present embodiment, we adopt PHP to develop web backstage, and the CFD task to user carries out maintenance and management in conjunction with MySQL database and shell script.
5, web server is disposed.This step mainly configuration service availability and access property, strengthen safety precaution simultaneously.In the present embodiment, we adopt the nginx increased income as the server of web platform, open iptables, SELinux and configuration https etc. simultaneously, carry out safe access control.
6, to user's issuing service, authorized user access web platform also manages CFD program and calls.By web platform, user can check and perform CFD task, is connected to server without the need to re-using shell terminal.
From technical scheme of the present invention, the present invention makes full use of web technology, is combined into the demand of CFD program development gui interface, gives a kind of CFD program developing method of integrated web technology.The method learning cost is low, and execution efficiency is high, can accomplish fast Development on stream.
The foregoing is only embodiments of the invention, within all spirit in the present invention and claims and principle, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a CFD program developing method for integrated web technology, is characterized in that, described method specifically comprises the following steps:
Step one: developer, according to algorithm and demand, develops the Core Feature of CFD program;
Step 2: CFD program division is deployed to server, guarantees that it can normally run;
Step 3: develop web user interface according to demand;
Step 4: exploitation web backstage, based on interface interchange CFD program;
Step 5: dispose web server, carry out uniting and adjustment test with CFD program, ensures the true(-)running of coupled system;
Step 6: online implementing, opens to authorized user; User checks in web terminal and manages CFD task, and downloads execution result etc. by web terminal.
2. the CFD program developing method of a kind of integrated web technology according to claim 1, is characterized in that: the detailed process of described step one is: CFD application developer, according to theory of algorithm and demand, develops Core Feature and the nucleus module of CFD program; Without the need to developing gui interface in this process, program is by the true(-)running of CLI mode.
3. the CFD program developing method of a kind of integrated web technology according to claim 1, it is characterized in that: the detailed process of described step 2 is: CFD program code is deployed to server, hardware environment for server is optimized and compiles and dispose, and ensures its availability.
4. the CFD program developing method of a kind of integrated web technology according to claim 1, is characterized in that: in described step 3, needs to adopt web technology to carry out development interface.Conventional web front-end exploitation programming language comprises HTML, CSS and JavaScript etc.; The exploitation of web rear end needs Interface realization the calling and managing CFD program according to CFD program.Rear end exploitation programming language comprises PHP and shell etc.
5. the CFD program developing method of a kind of integrated web technology according to claim 1, it is characterized in that: the detailed process of described step 5 is: select suitable software as the cgi script of web terminal, such as popular open source software apache httpd or nginx; The fire wall of configuration server and gateway, to conduct interviews security control to system; The corresponding authority of configurator, guarantees that the resource needed for running all can normally obtain.
6. the CFD program developing method of a kind of integrated web technology according to claim 1, is characterized in that: in described step 6, and user can carry out following operation in web interface:
A) check and deleting history task record;
B) newly-increased CFD program operation task;
C) stop the task of running or delete not yet starting of task;
D) task run daily record is checked, the operation result of downloading task.
E) CFD that system of checking sends runs message, arranges the mode (as mail reminder after program operation) of prompting.
7. the CFD program developing method of a kind of integrated web technology according to claim 1, is characterized in that: CFD exploitation is clearly peeled off with the responsibility of interface development by described method, and adopts web technology to develop gui interface.CFD program is applied as service end by the method, significantly reduces the workload developing traditional gui interface in conjunction with Internet technology.Described method have employed the thought of C/S, and being moved on to by traditional gui interface can the web terminal of agile development.
8. the CFD program developing method of a kind of integrated web technology according to claim 1, is characterized in that: web technology be incorporated into the exploitation of CFD program and used link, having improve development efficiency and user's experience.
9. the CFD program developing method of a kind of integrated web technology according to claim 1, is characterized in that: CFD program should be deployed on the server that web services process can access and call; Due to the accessibility everywhere of web, the web terminal being exposed to user need strengthen empowerment management and safe access control, prevents unauthorized user from stealing computational resource, or walks around the normal operation that security mechanism threatens system.
10. the CFD program developing method of a kind of integrated web technology according to claim 1, it is characterized in that: user is by after web platform authorization identifying, use browser to realize management to CFD program, and perform newly-built, check the operation such as CFD task or downloading-running result.
CN201510223696.9A 2015-05-05 2015-05-05 CFD program development method integrating web technology Pending CN104899020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510223696.9A CN104899020A (en) 2015-05-05 2015-05-05 CFD program development method integrating web technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510223696.9A CN104899020A (en) 2015-05-05 2015-05-05 CFD program development method integrating web technology

Publications (1)

Publication Number Publication Date
CN104899020A true CN104899020A (en) 2015-09-09

Family

ID=54031698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510223696.9A Pending CN104899020A (en) 2015-05-05 2015-05-05 CFD program development method integrating web technology

Country Status (1)

Country Link
CN (1) CN104899020A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797860A (en) * 2017-11-21 2018-03-13 上海望友信息科技有限公司 Task automatic processing method and system, client, server and storage medium
WO2020248383A1 (en) * 2019-06-13 2020-12-17 平安科技(深圳)有限公司 Cross-platform-based data processing method and apparatus, and computer device
CN112559351A (en) * 2020-12-16 2021-03-26 中船重工奥蓝托无锡软件技术有限公司 CFD software verification and confirmation database platform
CN113392627A (en) * 2021-07-12 2021-09-14 中国电子信息产业集团有限公司第六研究所 CFD software multi-user self-defined interactive interface management system and method
CN113656114A (en) * 2021-07-22 2021-11-16 中南建筑设计院股份有限公司 OpenFOAM computing task management method based on Web technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783056A (en) * 2005-07-29 2006-06-07 杭州易泰达科技有限公司 Structure of network simulation service
CN103473072A (en) * 2013-09-24 2013-12-25 北京大学 Mobile cloud computing application program development method
CN103543986A (en) * 2013-10-30 2014-01-29 曙光信息产业(北京)有限公司 Method and device for achieving CFX calculation tasks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783056A (en) * 2005-07-29 2006-06-07 杭州易泰达科技有限公司 Structure of network simulation service
CN103473072A (en) * 2013-09-24 2013-12-25 北京大学 Mobile cloud computing application program development method
CN103543986A (en) * 2013-10-30 2014-01-29 曙光信息产业(北京)有限公司 Method and device for achieving CFX calculation tasks

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胡文斌 等: "基于Web Service的CFD仿真及其在建筑设计中的应用", 《计算机应用研究》 *
顾海燕: "基于web三维流场数值计算实时显示系统的研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797860A (en) * 2017-11-21 2018-03-13 上海望友信息科技有限公司 Task automatic processing method and system, client, server and storage medium
WO2020248383A1 (en) * 2019-06-13 2020-12-17 平安科技(深圳)有限公司 Cross-platform-based data processing method and apparatus, and computer device
CN112559351A (en) * 2020-12-16 2021-03-26 中船重工奥蓝托无锡软件技术有限公司 CFD software verification and confirmation database platform
CN112559351B (en) * 2020-12-16 2022-06-14 中船重工奥蓝托无锡软件技术有限公司 CFD software verification and confirmation database platform
CN113392627A (en) * 2021-07-12 2021-09-14 中国电子信息产业集团有限公司第六研究所 CFD software multi-user self-defined interactive interface management system and method
CN113392627B (en) * 2021-07-12 2024-04-19 中国电子信息产业集团有限公司第六研究所 Management system and method for CFD software multiuser user-defined interactive interface
CN113656114A (en) * 2021-07-22 2021-11-16 中南建筑设计院股份有限公司 OpenFOAM computing task management method based on Web technology
CN113656114B (en) * 2021-07-22 2022-08-02 中南建筑设计院股份有限公司 OpenFOAM computing task management method based on Web technology

Similar Documents

Publication Publication Date Title
Lacomis et al. Dire: A neural approach to decompiled identifier naming
CN108885545B (en) Tools and methods for real-time dataflow programming languages
Varró et al. Road to a reactive and incremental model transformation platform: three generations of the VIATRA framework
Herron Node. js Web Development: Server-side web development made easy with Node 14 using practical examples
CN111062038B (en) Intelligent contract formalization verification system and method based on state space
CN106371813B (en) A kind of electric vehicle motor controller method for producing software based on Simulink
CN104899020A (en) CFD program development method integrating web technology
David et al. Program synthesis: challenges and opportunities
CN107220172A (en) Automatic user interface is carried out by model-driven methodologies(UI)The method and system of test
Luo et al. A survey of context simulation for testing mobile context-aware applications
Zhao et al. Apollo: Automatic partition-based operator fusion through layer by layer optimization
Gaston et al. Continuous integration for concurrent computational framework and application development
CN108139891A (en) Include suggesting for the missing of external file
Bryant et al. Domain-specific software engineering
Torlak et al. Applications and extensions of Alloy: past, present and future
Liu et al. Secure deep learning engineering: A road towards quality assurance of intelligent systems
CN110275715A (en) Unmanned aerial vehicle station software implementation method based on kylin operating system
Braga A transformation contract to generate aspects from access control policies
Kim et al. Execution of natural language requirements using State Machines synthesised from Behavior Trees
Colombo et al. Runtime verification using LARVA
Kamburjan et al. Deductive verification of active objects with crowbar
Uluca Angular 6 for Enterprise-Ready Web Applications: Deliver production-ready and cloud-scale Angular web apps
Nastov et al. MBSE and V&V: a tool-equipped method for combining various V&V strategies
Quinlan et al. Source code and binary analysis of software defects
Marinho et al. PLATEM: a method for mobile applications testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150909