CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Write cells and data intersecting a plane cuttingPlane (https://www.cfd-online.com/Forums/openfoam-post-processing/61321-write-cells-data-intersecting-plane-cuttingplane.html)

kathrin_kissling August 21, 2008 12:15

Hi all, I'm trying to imple
 
Hi all,

I'm trying to implement a cutting plane and I got issues with the cuttingPlane.H library.
During compilation I get the following error message:

error:cuttingPlane.H: File or directory couldn't be found

Does anyone has a clue why the libryry cannot be found. However plane.H can be found.

I'm pretty sure, this is an easy question for me being an absolute beginner in C++.

Thanks a lot for your help!

Kathrin

ngj August 21, 2008 13:56

Hi Kathrin Try to see, if t
 
Hi Kathrin

Try to see, if the question by Fabian on the 26th of February 2008 and the answer by Dragos on the 27th of February 2008 isn't what you need.

Good luck,

Niels

kathrin_kissling August 22, 2008 02:38

Hi Niels! Thank you very mu
 
Hi Niels!

Thank you very much! It works now!


Kathrin

ngj August 28, 2008 18:42

Hi All I do know that this
 
Hi All

I do know that this is not the most appropriate place to post this question, but it is closely related with the promise of a fully generic script, which takes care of merging/mapping of cutting planes written from parallel, thus I hope you'll bear with me.

I have a couple of technical questions linked to the stripping of non-uniform files so they become uniform.

1. As far as I have seen until now, the value can take three different expressions, e.g. for vector:
a) value uniform ( 0 0 0 );
b) value nonuniform List<vector> N(etc....);
c) value nonuniform 0 ( ); // Empty list

Q: Are there any other types?

2. I have not worked with any of the tensor formulations before, thus I would be glad if those of you who have, could tell me what types there are, how many elements these have, and how the class definition in the header looks like.

Update: I have a working frame work, now I just have to make it generic and make all the options work. To those of you interested, I have attached my description. If there are missing options which you consider interesting, let us discuss them.

http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif descriptionMerging

(Actually it is only the lack of the '-s' option which need to be finalized, a.k.a. change in cuttingPlane during the simulation)

Thank you very much, I will return to you soon.

/ Niels

ngj September 5, 2008 04:27

Dear all Testing the script
 
Dear all

Testing the script has begun, and thanks to Dragos bugs have been found.

Still I would be rather reluctant to release something which beforehand is known to include limitations, so I hope that someone do know the answers to my above two questions.

Best regards,

Niels

ngj February 25, 2009 05:18

Hi all I have been away fro
 
Hi all

I have been away from all of this for some time, thus I have not been working on this.

After receiving some of Dragos' tests, I applied my script, but for some reason I was unable to perform the merge. Thus at present the development is at a complete still-stand.

Best regards,

Niels

dmoroian March 1, 2009 16:18

I'm mot sure, but isn't this a
 
I'm mot sure, but isn't this approach obsolete since release 1.5?
Correct me if I'm wrong, but I think the new object function library contains something like this already.

Dragos

ngj March 2, 2009 03:29

Hi Dragos Actually I have n
 
Hi Dragos

Actually I have not used the functionality since the release of 1.5, but it would indeed be nice. I will look into it.

Best regards,

Niels

ashish.svm May 12, 2017 15:37

Quote:

Originally Posted by jaswi (Post 202482)
Hi Dragos

I have solved the compilation problem but now I have problem visualizing it.

I give the following command:

foamToVTK <root> <case> -cellSet someCells

and it writes


Exec : foamToVTK . 7_flask_10ml_320rpm -cellSet someCells
Date : Jan 30 2008
Time : 17:48:12
Host : taifun
PID : 5343
Root : <root>
Case : <case>
Nprocs : 1
Create time

Number of cells in new mesh : 6034
Number of faces in new mesh : 24264
Number of points in new mesh: 12342


--> FOAM FATAL IO ERROR : cannot open file

file: /scratch1/power_consumption_sims/1st_10ml/7_flask_10ml_320rpm/system/subsetSubse t/fvSchemes at line 0.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 66.

FOAM exiting


Could you please give me a clue what is missing

With kind Regards
Jaswinder


I know it's been a very long time since then...
But.. by any chance do you remember how did you resolve the compilation error? I am also facing the same compilation error.
..........................................
‘cuttingPlane’ was not declared in this scope
..........................................


All times are GMT -4. The time now is 03:38.