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

Simple question - syntax for foamCalc subtract in OF 50

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2018, 10:57
Default Simple question - syntax for foamCalc subtract in OF 50
  #1
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
hxaxtma is on a distinguished road
Hi guys,
what is the syntax for creating a subtraction field in OF 50?

postProcess -func addSubtract U subtract -field U_b ?
hxaxtma is offline   Reply With Quote

Old   May 23, 2018, 14:49
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
I just tested this and it worked (ie wrote a field subtract(p,p_rgh)):

Code:
postProcess -func "subtract(p,p_rgh)"
Here's a link that may help as well : https://cfd.direct/openfoam/user-gui...31-2470006.2.3

Caelan
clapointe is offline   Reply With Quote

Old   May 24, 2018, 04:01
Default
  #3
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
hxaxtma is on a distinguished road
Thanks that is it
hxaxtma is offline   Reply With Quote

Reply


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
SIMPLE scheme question wm2300 Main CFD Forum 10 November 6, 2014 05:55
[blockMesh] mergePatchPairs(); simple question seav OpenFOAM Meshing & Mesh Conversion 0 May 2, 2014 09:57
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 07:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 11:58
A Simple Question Thomas P. Abraham Main CFD Forum 3 September 6, 1999 19:19


All times are GMT -4. The time now is 22:47.