|
[Sponsors] |
April 16, 2012, 15:40 |
|
#21 |
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 16 |
But doesn't the error message means that the keyword patches should be defined in the surfaces section?
"keyword patches is undefined in dictionary "/home/caro/OpenFOAM/caro-2.1.0/run/pipe_flow/system/sampleDict::surfaces" " |
|
April 16, 2012, 15:45 |
|
#22 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
It couldn't find the keyword "patches" and checking the dict given with the source code, this keyword is present only in the sets section. The idea is to try adding something in this section to see what happens.
Regards
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
April 16, 2012, 15:56 |
|
#23 |
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 16 |
so using the tutorial LadenburgJet60psi as a guide (because they also want to sample for a wall property), here is what I wrote
sets ( face { name cyl_Wall; axis x; start (0 0.05 0); end (10 0.05 0); nPoints 100; } ); But now I get this error: keyword type is undefined in dictionary "/home/caro/OpenFOAM/caro-2.1.0/run/pipe_flow/system/sampleDict::sets" I must be missing something obvious, I just don't see it... |
|
April 16, 2012, 15:59 |
|
#24 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
Yes,
type uniform; at the beginning of the definition.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar Last edited by santiagomarquezd; April 16, 2012 at 16:00. Reason: Spelling |
|
April 16, 2012, 16:02 |
|
#25 |
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 16 |
And now I get my "keyword patches undefined ..." error again...
|
|
April 16, 2012, 16:05 |
|
#26 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
What FOAM version are you using?
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
April 16, 2012, 16:06 |
|
#27 |
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 16 |
OpenFOAM 2.1.0
|
|
April 16, 2012, 17:13 |
|
#28 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
Please check:
/opt/openfoam<your_version>/applications/utilities/postProcessing/sampling/sample/sampleDict in order to see the correct wording of the dictionary, the keywords have changed in the last versions. Now the keyword patches is required in surfaces too. Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
April 16, 2012, 18:24 |
|
#29 |
New Member
Caroline Vandame
Join Date: Aug 2010
Posts: 26
Rep Power: 16 |
Thanks so much for your help Santiago!!!
It seems you do not need to specify anything in sets, as long as everything is defined correctly in surfaces. |
|
April 16, 2012, 18:27 |
|
#30 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
You welcome. Yes, sets is not more needed. It was used only for testing purposes.
Bye.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
June 6, 2012, 21:42 |
sampleDict surfaces with moving mesh
|
#31 |
New Member
Join Date: Jan 2010
Posts: 11
Rep Power: 16 |
Hello,
I was wondering if anyone has used the sampleDict to determine variable values along a moving mesh. Particularly, I'm interested in the displacement of a solid in an FSI case (Turek and Hron benchmark). It would be very similar to determining the displacement of the tip of the console in the flappingConsole FSI case that is packaged with the extend versions of 1.5 and 1.6. I've tried using the surfaces functionality of the sampleDict and like many other folks end up with empty file folders. This leads me to believe there are issues with trying to use the boundaries/interfaces between solid and fluid as my surface patch like others have experienced. This also brings me to the issue of trying to define a line or surface based on xyz coordinates as I'm interested in the variation of x,y,z over time as the solid is deflected. Any help would be appreciated and I'm curious if anybody else has experienced this as I couldn't find anything in the forums. Regards, Andrew |
|
September 13, 2012, 04:00 |
About installation of swak4Foam
|
#32 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Hi everyone,
I am fresher to openFoam. I came to know the uses of swak4Foam utility for writing boundary conditions. In my application also i need to apply zero flux boundary condition. So i wish to install swak4Foam. Now i am working on OF 2.1.1 version. I followed every step as mentioned in the tutorials but i am not able to get it. The error message as follows Error message:- malli_reddy@ubuntu:~/OpenFOAM/malli_reddy-2.1.1$ svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ svn: OPTIONS of 'https://openfoam-extend.svn.sourcefo...ries/swak4Foam': Could not resolve hostname `openfoam-extend.svn.sourceforge.net': No address associated with hostname (https://openfoam-extend.svn.sourceforge.net) Could you please suggest me how to overcome this problem. And suggest me some good tutorial for the swak4Foam. Thanks Regards |
|
June 19, 2013, 23:24 |
|
#33 | |
New Member
Join Date: Dec 2012
Posts: 1
Rep Power: 0 |
Quote:
I am using FSI for my work. I find Sample with OF-1.6 have some problems and I always have failed to get displacement with sample. Could you please suggest me how to overcome this problem? Thanks Regards Legenoy |
||
May 19, 2014, 10:21 |
set file missing when using sample
|
#34 |
New Member
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
Hello Everybody!
I am quite new with Open Foam and I try to use the sample utility. I read the very interesting questions and answers and I saw that sometimes the files in the set file are empty. My problem is that the set file is not even created in my case directory. When I apply the sample utility I get this: Create time Create mesh for time = 0 Time = 0 Time = 0.1 Time = 0.2 Time = 0.3 Time = 0.4 Time = 0.5 Time = 0.6 Time = 0.7 Time = 0.8 Time = 0.9 Time = 1 End So I think the utility works but I did not find how to create the set file. Somebody can help me please? |
|
May 20, 2014, 06:08 |
|
#35 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
If the sample utility does not find the specified field in the time step then it skips the time step.
Can you post you sampleDict here? Philip |
|
May 20, 2014, 06:15 |
|
#36 |
Senior Member
|
||
May 20, 2014, 09:50 |
|
#37 |
New Member
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
Hi!
Before all, thank you for your answers! Here you can find my sampleDict file: setFormat raw; surfaceFormat raw; formatOptions { ensight { format ascii; } } interpolationScheme cell; fields ( p_rgh U alpha1 ); sets ( lineX1 { type uniform; axis xyz; start (0. 0.0 0.1); end (0.2 0. 0.18); nPoints 10; } lineX2 { type face; axis xyz; start (0. 0.1 0.1); end (0. 0.2 0.1); } somePoints { type cloud; axis xyz; points ((0.0 0.0 0.15)(0.2 0.2 0.15)); } ); I think I had a problem of OpenFoam version. I have written "sampleSets" instead of "sets" but now it works! and the "sets" file is indeed created in the "postProcessing" file. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample utility | Gearb0x | OpenFOAM Post-Processing | 13 | April 30, 2019 13:16 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Sample utility not working properly | titio | OpenFOAM | 2 | June 9, 2010 11:45 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |