Contact Sales
Sign Up Log In

Example Flow: Writing Petrophysics Curves to a LDB

FlowsJanuary 27, 2026

This article provides an overview of how to use a Flow to write results from a CPI to a log database. An example use case here would be that you have already done your petrophysical interpretation, and you want to use those curves in a .map file for cross-sections or a 3D visualization, or that you want to "lock" in the petrophysical results and use those in another CPI file to do summations with alternative zones (by setting the Curve Precedence to "Database").

The following tools are used in this order:

  • LogInput >> Brings the log data into the Flow
  • CpiLogCalc >> Calculates the curves to add to the database
  • LogOuput >>Writes the curves to a new log database.

LogInput is used to select the input database. LogOutput is used to write the results to a new log database (output name must be different than input name).

The majority of the work is in the CpiLogCalc tool. It calls the petrophysics engine, allows you to select a your petrophysical interpretation, tops, headers, and key well dataset, and import other datasets referenced by your project.

Any built in equations will be available in the Config equations parameter. In the example above I have selected 5 built in equations and I have also added one User equation that is not in the default petrophysics calculation. You can add as many equations as you would like in either field.

Tips and Tricks

  • Any built-in equation in Danomics is available in the Config equations dropdown - you just have to type it in and select "Create".
  • To get a new line in the User equations box use shift+enter
  • Make sure to select your CPI information and look for any warnings - this will save you wasted runs.

Tags

Related Insights

DCA

DCA: Type well curves

In this video I demonstrate how to generate a well set filtered by a number of criteria and generate a multi-well type curve. Before starting this video you should already know how to load your data and create a DCA project. If not, please review those videos. Type well curves are generated by creating a decline that represents data from multiple wells.

July 29, 2025
DCA

DCA: Loading Production data

In this video I demonstrate how to load production and well header data for use in a decline curve analysis project. The first step is to gather your data. You’ll need: Production data – this can be in CSV, Excel, or IHS 298 formats. For spreadsheet formats you’ll need columns for API, Date, Oil, Gas, Water (optional), and days of production for that period (optional). Well header data – this can be in CSV, Excel, or IHS 297 formats.

July 29, 2025
General

Sample data to get started

Need some sample data to get started? The files below are from data made public by the Wyoming Oil and Gas Commission. These will allow you to get started with petrophysics, mapping, and decline curve analysis. Well header data Formation tops data Deviation survey data Well log data (las files) Production data (csv) or (excel) Wyoming counties shapefile and projection Wyoming townships shapefile and projection Haven’t found the help guide that you are looking for?

July 9, 2025by Cameron Snow

Get a Personal Demo

Unlock the subsurface with Danomics