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

sampleDict in OF6

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2021, 08:22
Default sampleDict in OF6
  #1
New Member
 
Sebastian
Join Date: Apr 2019
Location: Germany
Posts: 12
Rep Power: 7
aeroBassti is on a distinguished road
Hi,


I have a slight problem with 'sampleDict'. I used “postProcess –func sampleDict”, to sample ‘U’ and other values from the finished case. Unfortunately, it doesn’t work in OF6. No data is written out. I tried postProcess –func probes. It works, but it is not the same. The data structure is different. I need a data structure similar to the sampleDict one (./postProcessing/sampleDict/time/x_U.xy).



Can you help me, please?




sampleDict:


Quote:
FoamFile { version 2.0; format ascii; class dictionary; location system; object sample; }
setFormat raw;
interpolationScheme cellPoint;
fields ( U );
libs ("libsampling.so");
type sets;
sets
(
Test
{ type points;
axis xyz;
points (
( 0.0 0.0 0.0 )
( -1.0 0.0 0.0 )
); }
);


probes:


Quote:
#includeEtc "caseDicts/postProcessing/probes/probes.cfg"

fields (U);
probeLocations
(
(0 0 0)
(-1.0 0 0)
);

aeroBassti is offline   Reply With Quote

Old   May 26, 2021, 08:58
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26
Yann will become famous soon enough
Hi Sebastian,

Instead of :
Code:
postProcess –func sampleDict
Try running your solver with the -postProcess option:
Code:
yourSolverName -postProcess –func sampleDict
Does it solve the problem?

Cheers,
Yann
Yann is offline   Reply With Quote

Old   May 26, 2021, 09:06
Default
  #3
New Member
 
Sebastian
Join Date: Apr 2019
Location: Germany
Posts: 12
Rep Power: 7
aeroBassti is on a distinguished road
Thank you for the hint, but I have huge simulations. So it would take months to rerun them. It will be a good hint, but not for me, unfortunately. Sometimes I compare multiple cases at different points, so I would have to rerun everything again and again and again. I hope there is another solution.
aeroBassti is offline   Reply With Quote

Old   May 26, 2021, 09:14
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26
Yann will become famous soon enough
It will not re-run the simulation, but only compute the "sampleDict" function, exactly like the postProcess utility. Just try and see if it solves the problem.



Yann
Yann is offline   Reply With Quote

Old   May 26, 2021, 09:25
Default
  #5
New Member
 
Sebastian
Join Date: Apr 2019
Location: Germany
Posts: 12
Rep Power: 7
aeroBassti is on a distinguished road
Sry, I misunderstood you. The process is running, but no data is written to the folder: ./postProcessing. -> Same problem :-(

Last edited by aeroBassti; May 26, 2021 at 11:08.
aeroBassti 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
sampleDict error KateEisenhower OpenFOAM Post-Processing 5 October 18, 2021 13:39
postProcess -func sampleDict does not create output folder tmr2044 OpenFOAM Post-Processing 7 April 27, 2021 14:33
sampleDict to singleGraph OF6 mcfdma OpenFOAM Post-Processing 0 January 7, 2020 15:51
How Coorectly Run sampleDict FlyBob91 OpenFOAM Post-Processing 5 September 13, 2017 04:01
sampleDict keyword patchName not accepted musahossein OpenFOAM Bugs 6 January 28, 2013 00:48


All times are GMT -4. The time now is 23:19.