CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] funkySetFields average function

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2015, 06:30
Default funkySetFields average function
New Member
Join Date: Nov 2015
Posts: 1
Rep Power: 0
grav90 is on a distinguished road
Hi everyone,
i'm new to OpenFOAM. I would like to use funkySetFields in order to calculate the average value of a field (e.g. T) in a certain part of the domain and then to set an initial condition based on the calculated value. I tried to use the function "average", but it seems to work only with the entire domain. I tried also to use splitMeshRegions and funky seemed to work properly, but the solver that i am using (rhoPimpleFoam) doesn't seem to read the different regions of the domain, and it uses for the calculation the old values. Do you have any suggestions? Thanks in advance
grav90 is offline   Reply With Quote


average, funkysetfields

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
[swak4Foam] what does this swak function of average on average mean? immortality OpenFOAM Community Contributions 5 April 25, 2019 10:32
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 11:20
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21

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