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

Sample different fields in different sets and surfaces

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2016, 08:10
Question Sample different fields in different sets and surfaces
  #1
New Member
 
Ion
Join Date: Mar 2014
Posts: 2
Rep Power: 0
ionelberdin is on a distinguished road
Is it possible to sample different fields for different sets and surfaces?

If the pressure field is relevant just in some patch and temperature in other one, is there a way to obtain both without having to call the sample utility twice?

The keys here are:
  • avoiding unnecessary files creation
  • loading the case in memory just once
Thanks in advance!
ionelberdin is offline   Reply With Quote

Old   April 4, 2016, 06:26
Default
  #2
Senior Member
 
Join Date: Jun 2012
Posts: 102
Rep Power: 6
Bazinga is on a distinguished road
AFAIK this is not possible. You could create multiple sampleDict files and maybe make it automatic by writing a small script.
Bazinga is offline   Reply With Quote

Old   April 4, 2016, 09:33
Default
  #3
New Member
 
Ion
Join Date: Mar 2014
Posts: 2
Rep Power: 0
ionelberdin is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
AFAIK this is not possible. You could create multiple sampleDict files and maybe make it automatic by writing a small script.
Hi Bazinga!

First of all, thanks for replying

Making several calls to sample would require loading the case several times, and that's precisely what I'm trying to avoid.

Let's see if someone comes with a different solution in which the case gets loaded and then all samples are performed.

Cheers!
ionelberdin is offline   Reply With Quote

Reply

Tags
multiple fields, openfoam, sample

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample not working correctly sihaqqi OpenFOAM Running, Solving & CFD 1 July 12, 2014 01:36
sample utility problem And OpenFOAM Post-Processing 36 May 20, 2014 08:50
Sample utility only samples pressure?! (not velocity) cfddwarf OpenFOAM Post-Processing 2 May 14, 2012 12:36
erros when running sample command hewei OpenFOAM Post-Processing 3 April 15, 2012 04:50
Understanding the coordinates of sample utility vishwa OpenFOAM Post-Processing 4 March 25, 2010 13:51


All times are GMT -4. The time now is 20:34.