CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

FoamPostProcess functionality

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2024, 10:30
Post FoamPostProcess functionality
  #1
New Member
 
Jose paul b
Join Date: Aug 2021
Posts: 2
Rep Power: 0
josepaulb is on a distinguished road
I tried to create a new field by dividing two fields , suppose "m" and "l". "m" is a volvectorfield and "l" is a volscalarfield.
I want to input this into the solver from "0" folder from fields already available.I haven't run the solver yet as this is a required input.
I Tried using :
Code:
  foamPostProcess -func divide -fields '(m l)'
But It is showing error as follows:
Code:
 Create time

Create mesh for time = 0



--> FOAM FATAL IO ERROR:
functionObject::fieldsExpression divide requires at least 2 fields only 0 provided: 0()

file: /home/josepaulb/Personal_project/system/functions/divide from line 4 to line 8.

    From function Foam::functionObjects::fieldsExpression::fieldsExpression(const Foam::word&, const Foam::Time&, const Foam::dictionary&, const Foam::wordList&, const Foam::word&)
    in file fieldsExpression/fieldsExpression.C at line 91.

FOAM exiting
I tried different combinations like fields, funcs .But still it shows one error or the other . Can anyone help me in this?
I checked user guide of Openfoam 12 which I am using , but there was no example for divide function.
If any more information is required, I will give them.
josepaulb is offline   Reply With Quote

Reply

Tags
foampostprocess, openfoam 12


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Functionality tabulated6DoFMotion in OPenFoam12 papaji OpenFOAM Programming & Development 2 September 15, 2024 14:53
[OpenFOAM.com] complile v2006 with runTimePostProcessing functionality snak OpenFOAM Installation 2 August 1, 2020 09:08
Multiphase ramping functionality sita OpenFOAM Running, Solving & CFD 7 September 18, 2019 14:03
[ICEM] Skewness Quality after using Mid Side Nodes Functionality Daniel_Khazaei ANSYS Meshing & Geometry 0 July 14, 2014 00:06
face functionality for a DynamicList tomislav_maric OpenFOAM Programming & Development 2 November 30, 2011 19:04


All times are GMT -4. The time now is 16:26.