CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: jackdoubleyou
Forum: OpenFOAM Programming & Development December 21, 2018, 08:38
Replies: 8
Views: 1,079
Posted By jackdoubleyou
I've fixed the problem, it was to do with how I...

I've fixed the problem, it was to do with how I was referencing the cell list.


Instead of


forAll(cells, celli)
{
code
}
Forum: OpenFOAM Programming & Development December 21, 2018, 05:10
Replies: 8
Views: 1,079
Posted By jackdoubleyou
Yeah you're right, I can't reproduce the error I...

Yeah you're right, I can't reproduce the error I was previously having. It looks like either method works, but will go with std::vector, seems neater.


Still gives me the same problem though....
Forum: OpenFOAM Programming & Development December 21, 2018, 04:16
Replies: 8
Views: 1,079
Posted By jackdoubleyou
Hi, I haven't tried that, will give it a...

Hi,


I haven't tried that, will give it a go.


The std::vector line is what I originally tried, however it would not compile. I think it was because there is no implementation of std::vector...
Forum: OpenFOAM Programming & Development December 14, 2018, 05:28
Replies: 8
Views: 1,079
Posted By jackdoubleyou
Return cells cut by cuttingPlane

Hi,


I'm creating a new solver, based on pisoFoam, that requires me to perform spatial averaging on a series of x-z planes. I've successfully created the required planes, and created...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 14:59.