首页> 外国专利> METHOD AND SYSTEM FOR CREATING ON COMPUTER A NATIVE OPERATORS AND A FILE FOR SIMULATOR OF MODEL FLUID FLOW IN POROUS MEDIAS

METHOD AND SYSTEM FOR CREATING ON COMPUTER A NATIVE OPERATORS AND A FILE FOR SIMULATOR OF MODEL FLUID FLOW IN POROUS MEDIAS

机译:在多孔介质中计算本机运算符和模型流模拟文件的方法和系统

摘要

1. A method for creating on a computer a native operators and file for a simulator of model fluid flow in porous medias, comprising the steps of: inputting into a symbolic language translator one or more equations and parameters describing the model to be created by the simulator: generating one or more model objects from the one or more equations and parameters; generating a symbolic representation for one or more residual and tangent matrix operators of the one or more model objects; generating optimization rules for geometric invariant quantities of the residual and tangent matrix operators; generating numeric core code and data structure initializing core code in a predetermined programming language from the language of the symbolic language translator; formatting and optimizing the numeric core code using the symbolic language translator; generating the native operators and test code file by processing the splice file through the symbolic language translator to yield the native operators and test code file. 2. The method of Claim 1, wherein the inputting step comprises inputting the one or more equations and parameters using a graphical user interface to the symbolic language translator, the graphical user interface comprising a notational palette for entering mathematical symbols. 3. The method of Claim 1, wherein the porous media comprises an oil reservoir. 4. The method of Claim 1, further comprising the step of generating one or more error model objects and Dirichlet boundary condition model objects from the one or more model objects for estimating the error in the one or more equations, and wherein the generating a symbolic representation step further comprises generating the symbolic representation using the one or more error model objects. 5. The method of Claim 4, wherein the model objects and the error model objects are intermediate user-viewable objects that can be used to verify progress. 6. The method of Claim 1, wherein said generating optimization rules step comprises pre-calculating the geometric invariant quantities of a simplex. 7. The method of Claim 6, wherein said pre-calculating comprises sorting one or more resulting equations for proper placement into the numeric core code. 8. The method of Claim 1, wherein the optimization rules are semantic optimization rules. 9. The method of Claim 1, further comprising the step of converting symbolic names from the language of the symbolic language translator to the high level programming language. 10. The method of Claim 1, further comprising the step of generating a set of test inputs for one or more of the symbolic residual and tangent matrix operators and calculating the outputs of the one or more symbolic residual and tangent matrix operators based on the generated inputs to test for errors. 11. The method of Claim 1, wherein the symbolic language translator is Mathematica. 12. The method of Claim 11, further comprising the step of solving the one or more equations without using Mathematica's Integrate function. 13. The method of Claim 1, wherein the one or more equations are partial differential equations. 14. The method of Claim 13, wherein the one or more equations describe a four-dimensional physical system. 15. The method of Claim 1, wherein the inputting step is performed by a human and all other steps are automatically performed by the computer. 16. The method of Claim 1, wherein the simulator comprises a solver, a user interface and the native operators and test code file. 17. A system for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in porous media, comprising: means for inputting into a symbolic language translator one or more equations and parameters describing the model to be created by the simulator; instructions for generating one or more model objects from the one or more equations and parameters; instructions for generating a symbolic representation for one or more residual and tangent matrix operators of the one or more model objects; instructions for generating optimization rules for geometric invariant quantities of the residual and tangent matrix operators: instructions for generating numeric core code and data structure initializing core code in a high level programming language from the language of the symbolic language translator; instructions for formatting and optimizing the numeric core code using the symbolic language translator; and instructions for generating the native operators and test code file by processing the splice file through the symbolic language translator to yield the native operators and test-code file. 18. The system of Claim 17, wherein the inputting instructions further comprise instructions for inputting the one ore more equations and parameters using a graphical user interface to the symbolic language translator, the graphical user interface comprising a notational palette for entering mathematical symbols. 19. The system of Claim 17, wherein the porous media comprises an oil reservoir. 20. The system of Claim 17, further comprising instructions for generating one or more error model objects from the one or more model objects for estimating the error in the one or more equations, and wherein the instructions for generating a symbolic representation further comprise instructions for generating the symbolic representation using the one or more error model objects. 21. The system of Claim 20, wherein the model objects and the error model objects are intermediate user-viewable objects that can be used to verify progress. 22. The system of Claim 17, wherein said instructions for generating optimization rules comprises pre-calculating the geometric invariant quantities. 23. The system of Claim 22, wherein said pre-calculating comprises using a simplex method and matrix operations to calculate the geometric invariant quantities, and sorting one or more resulting equations for proper placement into the numeric core code. 24. The system of Claim 17, wherein the optimization rules are semantic optimization rules. 25. The system of Claim 17, further comprising instructions for converting symbolic names from the language of the symbolic language translator to the high level programming language. 26. The system of Claim 17, further comprising instructions for generating a set of test inputs for one or more of the symbolic residual and tangent matrix operators and calculating the outputs of the one or more symbolic residual and tangent matrix operators based on the generated inputs to test for errors. 27. The system of Claim 17, wherein the symbolic language translator is Mathematica. 28. The system of Claim 27, further comprising instructions for solving the one or more equations without using Mathematica's integrate function. 29. The system of Claim 17, wherein the one or more equations are partial differential equations. 30. The system of Claim 29, wherein the one or more equations describe a four-dimensional physical system. 31. The system of Claim 17, wherein the inputting means are a computer interface and wherein a human inputs the one or more equation and parameters and all other instructions are automatically performed by the computer. 32. The system of Claim 17, wherein the high level programming language is Java, C++ or Fortran. 33. The system of Claim 17, wherein the simulator comprises a solver, a user interface and the native operators and test code file.
机译:1。一种用于在计算机上为多孔介质中的模型流体流动的仿真器在计算机上创建本机运算符和文件的方法,包括以下步骤:将描述要由该模型创建的模型的一个或多个方程式和参数输入到符号语言翻译器中。模拟器:从一个或多个方程和参数生成一个或多个模型对象;为一个或多个模型对象的一个​​或多个残差和正切矩阵算符生成符号表示;为残差和切线矩阵算子的几何不变量生成优化规则;从符号语言翻译器的语言生成数字核心代码和数据结构,以预定的编程语言初始化核心代码;使用符号语言转换器格式化和优化数字核心代码;通过使用符号语言转换器处理拼接文件来生成本机运算符和测试代码文件,从而生成本机运算符和测试代码文件。 2.根据权利要求1所述的方法,其中,所述输入步骤包括:使用图形用户界面向所述符号语言翻译器输入所述一个或多个方程式和参数,所述图形用户界面包括用于输入数学符号的符号面板。 3.根据权利要求1所述的方法,其中,所述多孔介质包括储油器。 4.根据权利要求1所述的方法,还包括以下步骤:从所述一个或多个模型对象生成一个或多个误差模型对象和狄里克雷边界条件模型对象,以估计所述一个或多个方程式中的误差,并且其中,生成符号表示步骤还包括使用一个或多个错误模型对象生成符号表示。 5.如权利要求4所述的方法,其特征在于,所述模型对象和所述错误模型对象是可用于验证进度的中间用户可见对象。 6.如权利要求1所述的方法,其特征在于,所述生成优化规则步骤包括预计算单形的几何不变量。 7.如权利要求6所述的方法,其特征在于,所述预计算包括对一个或多个结果方程进行排序以适当地放置在所述数字核心代码中。 8.根据权利要求1所述的方法,其中,所述优化规则是语义优化规则。 9.根据权利要求1所述的方法,还包括以下步骤:将符号名从所述符号语言翻译器的语言转换成高级编程语言。 10.如权利要求1所述的方法,其特征在于,还包括以下步骤:为一个或多个符号残差和正切矩阵算子生成一组测试输入,并基于所生成的一个或多个符号残差和正切矩阵算子的输出。测试错误的输入。 11.如权利要求1所述的方法,其特征在于,所述符号语言翻译器是Mathematica。 12.根据权利要求11所述的方法,还包括以下步骤:不使用Mathematica的积分函数来求解一个或多个方程。 13.根据权利要求1所述的方法,其中,所述一个或多个方程是偏微分方程。 14.根据权利要求13所述的方法,其中,所述一个或多个方程式描述了四维物理系统。 15.如权利要求1所述的方法,其特征在于,所述输入步骤由人执行,而所有其他步骤由所述计算机自动执行。 16.根据权利要求1所述的方法,其中,所述模拟器包括求解器,用户界面以及所述本机运算符和测试代码文件。 17.一种用于在计算机上创建用于有限元模拟器的本机操作员和测试代码文件以对多孔介质中的流体流进行建模的系统,该系统包括:用于将符号化描述的模型的一个或多个方程式和参数输入到符号语言翻译器中的装置。由模拟器创建;从一个或多个方程和参数生成一个或多个模型对象的指令;用于为一个或多个模型对象的一个​​或多个残差和正切矩阵算符生成符号表示的指令;用于为残差和切线矩阵算子的几何不变量生成优化规则的指令:用于从符号语言翻译器的语言生成高级编程语言中的数字核心代码和数据结构以初始化核心代码的指令;使用符号语言转换器格式化和优化数字核心代码的说明;通过符号语言翻译器处理拼接文件以产生本机运算符和测试代码文件的指令,以及生成本机运算符和测试代码文件的指令。 18.根据权利要求17所述的系统,其中,所述输入指令还包括用于使用图形用户界面向所述符号语言翻译器输入所述一个或多个方程式和参数的指令。,图形用户界面包括用于输入数学符号的符号面板。 19.根据权利要求17所述的系统,其中,所述多孔介质包括储油器。 20.根据权利要求17所述的系统,其进一步包含用于从所述一个或一个以上模型对象产生一个或一个以上误差模型对象以估计所述一个或一个以上方程式中的所述误差的指令,且其中用于产生符号表示的所述指令进一步包括用于以下各项的指令:使用一个或多个错误模型对象生成符号表示。 21.根据权利要求20所述的系统,其中,所述模型对象和所述错误模型对象是可用于验证进度的中间用户可见对象。 22.根据权利要求17所述的系统,其中,所述用于生成优化规则的指令包括预先计算所述几何不变量。 23.根据权利要求22所述的系统,其中,所述预计算包括:使用单纯形法和矩阵运算来计算所述几何不变量;以及对一个或多个结果方程进行排序,以适当地放置在所述数字核心代码中。 24.根据权利要求17所述的系统,其中,所述优化规则是语义优化规则。 25.如权利要求17所述的系统,其特征在于,还包括用于将符号名从所述符号语言翻译器的语言转换成高级编程语言的指令。 26.如权利要求17所述的系统,其特征在于,还包括用于为一个或多个符号残差和正切矩阵算子生成一组测试输入并基于所生成的输入来计算所述一个或多个符号残差和正切矩阵算子的输出的指令。测试错误。 27.根据权利要求17所述的系统,其中,所述符号语言翻译器是Mathematica。 28.根据权利要求27所述的系统,还包括用于在不使用Mathematica的积分函数的情况下求解一个或多个方程的指令。 29.根据权利要求17所述的系统,其中,所述一个或多个方程是偏微分方程。 30.根据权利要求29所述的系统,其中,所述一个或多个方程式描述了四维物理系统。 31.根据权利要求17所述的系统,其中,所述输入装置是计算机接口,并且其中,人输入所述一个或多个方程式和参数,并且所有其他指令由所述计算机自动执行。 32.根据权利要求17所述的系统,其中,所述高级编程语言是Java,C ++或Fortran。 33.根据权利要求17所述的系统,其中,所述模拟器包括求解器,用户界面以及所述本机运算符和测试代码文件。

著录项

  • 公开/公告号EA004383B1

    专利类型

  • 公开/公告日2004-04-29

    原文格式PDF

  • 申请/专利权人 OBJECT RESERVOIR;

    申请/专利号EA20020000433

  • 发明设计人 DYE LESTER W;WAGNER DAVID B;

    申请日2000-10-12

  • 分类号G06F9/44;G06F17/50;

  • 国家 EA

  • 入库时间 2022-08-21 23:11:18

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号