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

Write cells and data intersecting a plane cuttingPlane

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2008, 13:15
Default Hi all, I'm trying to imple
  #61
Senior Member
 
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17
kathrin_kissling is on a distinguished road
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
kathrin_kissling is offline   Reply With Quote

Old   August 21, 2008, 14:56
Default Hi Kathrin Try to see, if t
  #62
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   August 22, 2008, 03:38
Default Hi Niels! Thank you very mu
  #63
Senior Member
 
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17
kathrin_kissling is on a distinguished road
Hi Niels!

Thank you very much! It works now!


Kathrin
kathrin_kissling is offline   Reply With Quote

Old   August 28, 2008, 19:42
Default Hi All I do know that this
  #64
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.

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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 5, 2008, 05:27
Default Dear all Testing the script
  #65
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   February 25, 2009, 06:18
Default Hi all I have been away fro
  #66
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   March 1, 2009, 17:18
Default I'm mot sure, but isn't this a
  #67
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
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
dmoroian is offline   Reply With Quote

Old   March 2, 2009, 04:29
Default Hi Dragos Actually I have n
  #68
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 12, 2017, 16:37
Default
  #69
Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 11
ashish.svm is on a distinguished road
Quote:
Originally Posted by jaswi View Post
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
..........................................
ashish.svm 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
UDF to write a data file lichun Dong FLUENT 2 August 4, 2005 12:21
write transient data of plane Fabian CFX 2 June 27, 2005 03:38
UDF TO WRITE OUT DATA!! Aishwarya FLUENT 1 August 14, 2004 11:32
UDF TO WRITE OUT DATA!! Aishwarya FLUENT 0 August 12, 2004 11:11
UDF to read and write data Mcgregor FLUENT 4 June 9, 2003 14:21


All times are GMT -4. The time now is 16:45.