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

patchProbes for U

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2020, 05:32
Default patchProbes for U
  #1
Member
 
niewiemnic
Join Date: Jan 2018
Location: Niemcy
Posts: 57
Rep Power: 4
spalartallmaras is on a distinguished road
Hello,

I want to make PSD diagram for velocity.

so I wrote my controlDict like this,

Code:
    patchProbes
    {
        type            patchProbes;
      	libs            (sampling);
	//writeControl    timeStep;
	writeControl    writeTime;
        timeStart       0.6;

        patch           zyl_naca0012;
        probeLocations
        (
            (-0.15045 0.2 0.00885) // A
            (0.04425 0.2 0.0177) // B
         );
        fields          (U p Curle);
    }
for p and Curle it works well, but for U I have only zero value for every timesteps.

Code:
# Probe 0 (-0.17741013 0.19999995 0.0023531675)
# Probe 1 (0.04411183 0.2 0.010945718)
#         Probe               0               1
#          Time
          0.601               (0 0 0)               (0 0 0)
          0.602               (0 0 0)               (0 0 0)
          0.603               (0 0 0)               (0 0 0)
          0.604               (0 0 0)               (0 0 0)
          0.605               (0 0 0)               (0 0 0)
          0.606               (0 0 0)               (0 0 0)
          0.607               (0 0 0)               (0 0 0)
          0.608               (0 0 0)               (0 0 0)
          0.609               (0 0 0)               (0 0 0)
           0.61               (0 0 0)               (0 0 0)
          0.611               (0 0 0)               (0 0 0)
          0.612               (0 0 0)               (0 0 0)
          0.613               (0 0 0)               (0 0 0)
          0.614               (0 0 0)               (0 0 0)
          0.615               (0 0 0)               (0 0 0)
and so on...
Do someone know how can I do probe for U or make PSD of velocity?
spalartallmaras is offline   Reply With Quote

Old   March 17, 2020, 12:35
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 906
Rep Power: 26
olesen will become famous soon enougholesen will become famous soon enough
Maybe just that it is a no-slip BC and thus zero-velocity?
olesen is offline   Reply With Quote

Old   April 2, 2020, 19:16
Default Answer
  #3
Member
 
niewiemnic
Join Date: Jan 2018
Location: Niemcy
Posts: 57
Rep Power: 4
spalartallmaras is on a distinguished road
Here is the right answer for probes:

Code:
        probes
	{
		libs            (sampling);
	        type        probes;
         	name        probes;

	        fields          (p Curle U);
	        probeLocations
	        (
 	            (-0.925 0.04 1.6)
	            (0 0.04 1.85)
    	            (0.925 0.04 1.6)
	            (-0.15 0.04 0.01) // A
                    (0.045 0.04 0.02) // B
	        );
	}

Results:

Code:
# Probe 0 (-0.925 0.04 1.6)
# Probe 1 (0 0.04 1.85)
# Probe 2 (0.925 0.04 1.6)
# Probe 3 (-0.15 0.04 0.01)
# Probe 4 (0.045 0.04 0.02)
#          Probe                0                1                2                3                4
#           Time
               0                (68 0 0)                (68 0 0)                (68 0 0)                (68 0 0)                (68 0 0)
           0.081                (68.0014332 5.99036437e-10 0.00738969358)                (68.030297 -4.33218127e-08 0.0121846369)                (68.0643646 -1.24457047e-05 0.00762068548)                (31.0006862 2.28241103 -26.8158835)                (64.1542249 -11.4418305 6.65235618)
           0.082                (68.0014296 1.31878963e-09 0.00740097379)                (68.0305114 -4.17360714e-08 0.0122377878)                (68.064582 -1.30316188e-05 0.00770105171)                (31.4001765 5.95961984 0.494150689)                (51.2321979 -0.285955754 2.71000551)
           0.083                (68.0014491 7.12236223e-10 0.0074375163)                (68.0307652 -4.67176522e-08 0.0123226498)                (68.0647564 -1.33251934e-05 0.00773059729)                (33.6709631 -7.52004268 8.6170834)                (61.9887947 18.8947403 -5.23805307)
           0.084                (68.0014616 -5.88914933e-10 0.0074433959)                (68.0308733 -4.80321233e-08 0.0123194492)                (68.0647517 -1.36197217e-05 0.0077650226)                (44.6682783 10.1557355 23.1492018)                (77.8522556 -10.7819079 -5.72007478)
           0.085                (68.0014514 4.56040382e-10 0.00741534868)                (68.0310821 -4.70863241e-08 0.0124136671)                (68.0651851 -1.38559911e-05 0.00792646197)                (49.1198921 12.2354596 52.0417185)                (68.7600304 1.5191382 -17.9202192)
...
spalartallmaras is offline   Reply With Quote

Reply

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
running iocFoam in parrallel tenichols19 OpenFOAM Running, Solving & CFD 6 October 7, 2019 04:44
Using Probe for part of a patch ndr OpenFOAM Running, Solving & CFD 7 April 4, 2019 06:26
Using probe function or sample utility on a patch hfs OpenFOAM Post-Processing 1 January 27, 2019 03:49


All times are GMT -4. The time now is 00:33.